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

Unified Diff: lib/i18n/bidi_formatter.dart

Issue 10692022: Reapply r9192 and 9194, with the change of making locale a public field. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | lib/i18n/bidi_utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/i18n/bidi_formatter.dart
===================================================================
--- lib/i18n/bidi_formatter.dart (revision 9195)
+++ lib/i18n/bidi_formatter.dart (working copy)
@@ -2,13 +2,9 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-#library('bidi_formatter');
-
-#import('bidi_utils.dart');
-
/**
* Bidi stands for Bi-directional text.
- * According to http://en.wikipedia.org/wiki/Bi-directional_text:
+ * According to [Wikipedia](http://en.wikipedia.org/wiki/Bi-directional_text):
* Bi-directional text is text containing text in both text directionalities,
* both right-to-left (RTL) and left-to-right (LTR). It generally involves text
* containing different types of alphabets, but may also refer to boustrophedon,
@@ -57,8 +53,6 @@
* then up to the caller to insert the return value in the output.
*/
-#import('dart:web');
-
class BidiFormatter {
/** The direction of the surrounding text (the context). */
« no previous file with comments | « no previous file | lib/i18n/bidi_utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698