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

Unified Diff: pkg/polymer/test/noscript_test.dart

Issue 293023008: Bring back initPolymer, allow boot.js only if using "polymer_experimental.html". (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 7 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 | « pkg/polymer/test/nested_binding_test.html ('k') | pkg/polymer/test/noscript_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/noscript_test.dart
diff --git a/pkg/polymer/test/noscript_test.dart b/pkg/polymer/test/noscript_test.dart
index 58a1c0e19cb6846715d47a2124789eb7c3656be9..06cec774c48994524e85c70c42a433d69ecfb411 100644
--- a/pkg/polymer/test/noscript_test.dart
+++ b/pkg/polymer/test/noscript_test.dart
@@ -18,8 +18,7 @@ Future<List<MutationRecord>> onMutation(Node node) {
return completer.future;
}
-@initMethod
-main() {
+main() => initPolymer().run(() {
useHtmlConfiguration();
var ready = Polymer.onReady.then((_) {
@@ -36,4 +35,4 @@ main() {
expect(querySelector('x-b').shadowRoot.nodes.first.text, 'b');
expect(querySelector('x-d').shadowRoot.nodes.first.text, 'd');
});
-}
+});
« no previous file with comments | « pkg/polymer/test/nested_binding_test.html ('k') | pkg/polymer/test/noscript_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698