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

Unified Diff: samples/third_party/todomvc/web/model.dart

Issue 11783009: Big merge from experimental to bleeding edge. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 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
Index: samples/third_party/todomvc/web/model.dart
diff --git a/samples/third_party/todomvc/web/model.dart b/samples/third_party/todomvc/web/model.dart
index d92cb334d2a7ec9d37eaf63c3e045a00d22c4e35..7bb52f5ce5528143a1f997010395525ed63657f0 100644
--- a/samples/third_party/todomvc/web/model.dart
+++ b/samples/third_party/todomvc/web/model.dart
@@ -41,7 +41,7 @@ class AppModel {
int get remaining => todos.length - doneCount;
void clearDone() {
- todos = todos.filter((t) => !t.done);
+ todos = todos.where((t) => !t.done).toList();
}
}
« no previous file with comments | « samples/third_party/dromaeo/tests/dom-modify-htmlidiomatic.dart ('k') | sdk/lib/_internal/compiler/compiler.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698