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

Unified Diff: example/todomvc/test/todomvc_mainpage_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_mainpage_test.html
diff --git a/example/todomvc/test/todomvc_mainpage_test.html b/example/todomvc/test/todomvc_mainpage_test.html
index a9f3f1aac0b35ddb69a5df61ef642998934c5e42..292d313ee9237f117452a6ed9da2a168229fbae7 100644
--- a/example/todomvc/test/todomvc_mainpage_test.html
+++ b/example/todomvc/test/todomvc_mainpage_test.html
@@ -18,12 +18,13 @@ This test runs the TodoMVC app and evaluates that it renders correctly.
</head><body>
<todo-app></todo-app>
<script type="application/dart">
+import 'dart:async';
import 'dart:html';
import 'package:mdv/mdv.dart' as mdv;
main() {
mdv.initialize();
- window.postMessage('done', '*');
+ Timer.run(() => window.postMessage('done', '*'));
}
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698