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

Unified Diff: pkg/polymer/test/instance_attrs_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/events_test.html ('k') | pkg/polymer/test/instance_attrs_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/instance_attrs_test.dart
diff --git a/pkg/polymer/test/instance_attrs_test.dart b/pkg/polymer/test/instance_attrs_test.dart
index 24f94cbb05e782157bade0a3eca0e652e818927d..94e138a834dd84bc7b38804e3f2370baf4a55b97 100644
--- a/pkg/polymer/test/instance_attrs_test.dart
+++ b/pkg/polymer/test/instance_attrs_test.dart
@@ -17,8 +17,7 @@ class MyElement extends PolymerElement {
get attributes => super.attributes;
}
-@initMethod
-main() {
+main() => initPolymer().run(() {
useHtmlConfiguration();
setUp(() => Polymer.onReady);
@@ -36,4 +35,4 @@ main() {
expect(text, " foo: 123 bar: hi baz: world ",
reason: 'text should match expected HTML template');
});
-}
+});
« no previous file with comments | « pkg/polymer/test/events_test.html ('k') | pkg/polymer/test/instance_attrs_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698