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

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

Issue 10910239: Update htmlescape to new package layout. (Closed) Base URL: https://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/htmlescape/pubspec.yaml ('k') | no next file » | 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 #import('../../pkg/htmlescape/htmlescape.dart'); 11 // TODO(rnystrom): Use "package:" import when test.dart supports it (#4968).
12 #import('../../pkg/htmlescape/lib/htmlescape.dart');
12 13
13 #import('date_format.dart'); 14 #import('date_format.dart');
14 #source('intl_message.dart'); 15 #source('intl_message.dart');
15 #source('bidi_formatter.dart'); 16 #source('bidi_formatter.dart');
16 #source('bidi_utils.dart'); 17 #source('bidi_utils.dart');
17 18
18 class Intl { 19 class Intl {
19 /** 20 /**
20 * String indicating the locale code with which the message is to be 21 * String indicating the locale code with which the message is to be
21 * formatted (such as en-CA). 22 * formatted (such as en-CA).
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 179
179 /** 180 /**
180 * Accessor for the current locale. This should always == the default locale, 181 * Accessor for the current locale. This should always == the default locale,
181 * unless for some reason this gets called inside a message that resets the 182 * unless for some reason this gets called inside a message that resets the
182 * locale. 183 * locale.
183 */ 184 */
184 static String getCurrentLocale() { 185 static String getCurrentLocale() {
185 return _locale; 186 return _locale;
186 } 187 }
187 } 188 }
OLDNEW
« no previous file with comments | « pkg/htmlescape/pubspec.yaml ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698