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

Unified Diff: samples/third_party/todomvc/test/markdone_shadow_test.dart

Issue 27518006: Practically remove boot.js, adds the initialization from the Dart side of (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 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/markdone_shadow_test.dart
diff --git a/samples/third_party/todomvc/test/markdone_shadow_test.dart b/samples/third_party/todomvc/test/markdone_shadow_test.dart
index 0acc50828f36a3d96480f8432f7df85c9b203968..5e5dc9ad444226fbfc91125a52ef33bafadf0772 100644
--- a/samples/third_party/todomvc/test/markdone_shadow_test.dart
+++ b/samples/third_party/todomvc/test/markdone_shadow_test.dart
@@ -7,10 +7,11 @@ library todomvc.test.markdone_shadow_test;
// We don't use this import, but it signals to the test framework that this is
// a web test.
import 'dart:html';
+import 'package:polymer/polymer.dart' show initMethod;
import 'markdone_test.dart' as markdone_test;
-main() {
+@initMethod _main() {
// Make analyzer happy by using dart:html.
document.query('body');
- markdone_test.main();
+ markdone_test.init();
}
« no previous file with comments | « samples/third_party/todomvc/test/mainpage_test.html ('k') | samples/third_party/todomvc/test/markdone_shadow_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698