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

Unified Diff: samples/third_party/todomvc/test/todomvc_mainpage2_test.html

Issue 23224003: move polymer.dart into dart svn (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: add --deploy to todomvc sample 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
Index: samples/third_party/todomvc/test/todomvc_mainpage2_test.html
diff --git a/samples/third_party/todomvc/test/todomvc_mainpage2_test.html b/samples/third_party/todomvc/test/todomvc_mainpage2_test.html
index 913c8c03d6c9051bf955c569e4732abe8a37fcda..a6f8e43001fdf32a09a3a65fa552b56e118c2f3f 100644
--- a/samples/third_party/todomvc/test/todomvc_mainpage2_test.html
+++ b/samples/third_party/todomvc/test/todomvc_mainpage2_test.html
@@ -14,22 +14,19 @@ single item is present in the todo list.
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="import" href="../web/app.html">
<link rel="stylesheet" href="../web/base.css">
- <script src="packages/web_ui/testing/testing.js"></script>
+ <script src="packages/polymer/testing/testing.js"></script>
<title>Dart • TodoMVC</title>
</head><body>
<todo-app></todo-app>
<script type="application/dart">
-import 'dart:async';
import 'dart:html';
-import 'package:web_ui/web_ui.dart';
+import 'package:polymer/polymer.dart';
import '../web/model.dart';
main() {
- Timer.run(() {
- app.todos.add(new Todo('hola'));
- deliverChangesSync();
- window.postMessage('done', '*');
- });
+ appModel.todos.add(new Todo('hola'));
+ performMicrotaskCheckpoint();
+ window.postMessage('done', '*');
}
</script>
</body>

Powered by Google App Engine
This is Rietveld 408576698