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

Unified Diff: pkg/polymer/test/event_path_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
Index: pkg/polymer/test/event_path_test.dart
diff --git a/pkg/polymer/test/event_path_test.dart b/pkg/polymer/test/event_path_test.dart
index ecf922f5ce9955d4bf8f475e2f0a622a77289de1..121b346788535065ad34f5db76971f74ebd24501 100644
--- a/pkg/polymer/test/event_path_test.dart
+++ b/pkg/polymer/test/event_path_test.dart
@@ -25,7 +25,6 @@ class XMenuButton extends PolymerElement {
XMenuButton.created() : super.created();
}
-@initMethod
main() {
// TODO(sigmund): use @CustomTag instead of Polymer.regsiter. A bug is making
// this code sensitive to the order in which we register elements (e.g. if
@@ -35,6 +34,7 @@ main() {
Polymer.register('x-menu', XMenu);
Polymer.register('x-menu-button', XMenuButton);
+ initPolymer();
Jennifer Messerly 2014/05/23 07:20:06 hmmm, I wonder if this should be sooner? Not sure
Siggi Cherem (dart-lang) 2014/05/23 17:56:33 good catch. I am as curious. It seems to be workin
useHtmlConfiguration();
setUp(() => Polymer.onReady);

Powered by Google App Engine
This is Rietveld 408576698