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

Unified Diff: pkg/polymer/test/attr_mustache_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/attr_deserialize_test.html ('k') | pkg/polymer/test/attr_mustache_test.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/polymer/test/attr_mustache_test.dart
diff --git a/pkg/polymer/test/attr_mustache_test.dart b/pkg/polymer/test/attr_mustache_test.dart
index d8cb9403de038d9d9f9bdff067cc0297bae6303f..19fb79e4482afa81341acbc17004a9cf9647590d 100644
--- a/pkg/polymer/test/attr_mustache_test.dart
+++ b/pkg/polymer/test/attr_mustache_test.dart
@@ -44,8 +44,7 @@ class XTest extends PolymerElement {
@observable var src = 'testSource';
}
-@initMethod
-main() {
+main() => initPolymer().run(() {
useHtmlConfiguration();
setUp(() => Polymer.onReady);
@@ -55,4 +54,4 @@ main() {
final xtarget = xtest.shadowRoot.querySelector('#target');
return xtarget.foundSrc;
});
-}
+});
« no previous file with comments | « pkg/polymer/test/attr_deserialize_test.html ('k') | pkg/polymer/test/attr_mustache_test.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698