Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(503)

Side by Side Diff: pkg/intl/lib/intl.dart

Issue 10952004: Change intl to use new pub layout (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « pkg/intl/lib/file_data_reader.dart ('k') | pkg/intl/lib/intl_browser.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 /** 5 /**
6 * Internationalization object providing access to message formatting objects, 6 * Internationalization object providing access to message formatting objects,
7 * date formatting, parsing, bidirectional text relative to a specific locale. 7 * date formatting, parsing, bidirectional text relative to a specific locale.
8 */ 8 */
9 #library('intl'); 9 #library('intl');
10 10
11 // TODO(rnystrom): Use "package:" import when test.dart supports it (#4968).
12 #import('../htmlescape/lib/htmlescape.dart');
13
14 #import('date_format.dart'); 11 #import('date_format.dart');
15 #import('lib/intl_helpers.dart'); 12 #import('src/intl_helpers.dart');
16 13
17 #source('bidi_formatter.dart'); 14 #source('bidi_formatter.dart');
18 #source('bidi_utils.dart'); 15 #source('bidi_utils.dart');
19 16
20 class Intl { 17 class Intl {
21 /** 18 /**
22 * String indicating the locale code with which the message is to be 19 * String indicating the locale code with which the message is to be
23 * formatted (such as en-CA). 20 * formatted (such as en-CA).
24 */ 21 */
25 String _locale; 22 String _locale;
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 /** 211 /**
215 * Initialize the message lookup mechanism. This is for internal use only. 212 * Initialize the message lookup mechanism. This is for internal use only.
216 * User applications should import message_lookup_local.dart and call 213 * User applications should import message_lookup_local.dart and call
217 * initializeMessages 214 * initializeMessages
218 */ 215 */
219 void initializeInternalMessageLookup(Function lookupFunction) { 216 void initializeInternalMessageLookup(Function lookupFunction) {
220 if (_messageLookup is UninitializedLocaleData) { 217 if (_messageLookup is UninitializedLocaleData) {
221 _messageLookup = lookupFunction(); 218 _messageLookup = lookupFunction();
222 } 219 }
223 } 220 }
OLDNEW
« no previous file with comments | « pkg/intl/lib/file_data_reader.dart ('k') | pkg/intl/lib/intl_browser.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698