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

Unified Diff: pkg/intl/lib/bidi_formatter.dart

Issue 143453011: pkg/intl: dartfmt (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 11 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 | « pkg/intl/example/basic/messages_th_th.dart ('k') | pkg/intl/lib/bidi_utils.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/intl/lib/bidi_formatter.dart
diff --git a/pkg/intl/lib/bidi_formatter.dart b/pkg/intl/lib/bidi_formatter.dart
index 2c3c8c4be4e81c7f17b64b67f3b1ee8993e0ffe4..5f23d3fd121e66a0d5ca4e68afce688860e487d3 100644
--- a/pkg/intl/lib/bidi_formatter.dart
+++ b/pkg/intl/lib/bidi_formatter.dart
@@ -108,11 +108,11 @@ class BidiFormatter {
if (directionChange) {
spanDirection = ' dir=${direction.spanText}';
}
- result= '<span$spanDirection>$text</span>';
+ result = '<span$spanDirection>$text</span>';
} else {
result = text;
}
- return result + (resetDir? _resetDir(text, direction, isHtml) : '');
+ return result + (resetDir ? _resetDir(text, direction, isHtml) : '');
}
/**
@@ -143,7 +143,7 @@ class BidiFormatter {
result = "${marker}$text${Bidi.PDF}";
}
- return result + (resetDir? _resetDir(text, direction, isHtml) : '');
+ return result + (resetDir ? _resetDir(text, direction, isHtml) : '');
}
/**
« no previous file with comments | « pkg/intl/example/basic/messages_th_th.dart ('k') | pkg/intl/lib/bidi_utils.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698