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

Unified Diff: pkg/polymer/test/take_attributes_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/register_test.html ('k') | pkg/polymer/test/take_attributes_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/take_attributes_test.dart
diff --git a/pkg/polymer/test/take_attributes_test.dart b/pkg/polymer/test/take_attributes_test.dart
index c77a1a4e4c5b6cecdd022958cda87d31c60ef80a..da6d61b49e0b2d49637865b3db4ac4b04ad1f924 100644
--- a/pkg/polymer/test/take_attributes_test.dart
+++ b/pkg/polymer/test/take_attributes_test.dart
@@ -49,8 +49,7 @@ class XObj extends PolymerElement {
@observable var values = {};
}
-@initMethod
-main() {
+main() => initPolymer().run(() {
useHtmlConfiguration();
setUp(() => Polymer.onReady);
@@ -119,4 +118,4 @@ main() {
expect(queryXTag("#obj3").values, { 'movie': 'Buckaroo Banzai',
'DOB': '07/31/1978' });
});
-}
+});
« no previous file with comments | « pkg/polymer/test/register_test.html ('k') | pkg/polymer/test/take_attributes_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698