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

Unified Diff: third_party/pkg/angular/lib/filter/number.dart

Issue 176943008: Update the Angular/DI tests to latest from github. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 10 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
Index: third_party/pkg/angular/lib/filter/number.dart
diff --git a/third_party/pkg/angular/lib/filter/number.dart b/third_party/pkg/angular/lib/filter/number.dart
index e778d77707a3957513305c21c4ab35099d004128..469bb6f39227275ea4a3519425b4b31bf2e7bba9 100644
--- a/third_party/pkg/angular/lib/filter/number.dart
+++ b/third_party/pkg/angular/lib/filter/number.dart
@@ -30,8 +30,7 @@ class NumberFilter {
if (value.isNaN) return '';
var nf = nfs[fractionSize];
if (nf == null) {
- nf = new NumberFormat();
- nf.maximumIntegerDigits = 9;
+ nf = new NumberFormat()..maximumIntegerDigits = 9;
if (fractionSize != null) {
nf.minimumFractionDigits = fractionSize;
nf.maximumFractionDigits = fractionSize;

Powered by Google App Engine
This is Rietveld 408576698