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

Unified Diff: example/todomvc/test/todomvc_mainpage2_test.html

Issue 19497002: Reducing the amount of code we generate in the compiler: We still continue (Closed) Base URL: git@github.com:dart-lang/web-ui.git@master
Patch Set: Created 7 years, 5 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: example/todomvc/test/todomvc_mainpage2_test.html
diff --git a/example/todomvc/test/todomvc_mainpage2_test.html b/example/todomvc/test/todomvc_mainpage2_test.html
index 84d5ffa372500ce801aa2834c6202b95190856f2..9706f04907829262d08c582f84d8ae1387d7d235 100644
--- a/example/todomvc/test/todomvc_mainpage2_test.html
+++ b/example/todomvc/test/todomvc_mainpage2_test.html
@@ -32,7 +32,9 @@ main() {
Timer.run(() {
appModel.todos.add(new Todo('hola'));
deliverChangeRecords();
- window.postMessage('done', '*');
+ // TODO(sigmund): investigate why is not enough to do Timer.run
+ new Timer(new Duration(milliseconds: 200),
+ () => window.postMessage('done', '*'));
});
}
</script>

Powered by Google App Engine
This is Rietveld 408576698