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

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

Issue 22962005: Merge pull request #581 from kevmoo/polymer (Closed) Base URL: https://github.com/dart-lang/web-ui.git@polymer
Patch Set: Created 7 years, 4 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 | « example/todomvc/test/todomvc_listorder_test.html ('k') | example/todomvc/test/todomvc_mainpage_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5ac7b5729e293d5f492a12bcdc959a90a307ced6..a6f8e43001fdf32a09a3a65fa552b56e118c2f3f 100644
--- a/example/todomvc/test/todomvc_mainpage2_test.html
+++ b/example/todomvc/test/todomvc_mainpage2_test.html
@@ -19,22 +19,14 @@ single item is present in the todo list.
</head><body>
<todo-app></todo-app>
<script type="application/dart">
-import 'dart:async';
import 'dart:html';
-import 'package:mdv/mdv.dart' as mdv;
-import 'package:observe/observe.dart';
import 'package:polymer/polymer.dart';
import '../web/model.dart';
main() {
- mdv.initialize();
-
- Timer.run(() {
- appModel.todos.add(new Todo('hola'));
- // TODO(sigmund): investigate why is not enough to do Timer.run
- new Timer(new Duration(milliseconds: 200),
- () => window.postMessage('done', '*'));
- });
+ appModel.todos.add(new Todo('hola'));
+ performMicrotaskCheckpoint();
+ window.postMessage('done', '*');
}
</script>
</body>
« no previous file with comments | « example/todomvc/test/todomvc_listorder_test.html ('k') | example/todomvc/test/todomvc_mainpage_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698