| 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..97c3e351535f80095ca900fd24fcc88aac0b215c 100644
|
| --- a/pkg/polymer/test/event_path_test.dart
|
| +++ b/pkg/polymer/test/event_path_test.dart
|
| @@ -25,8 +25,9 @@ class XMenuButton extends PolymerElement {
|
| XMenuButton.created() : super.created();
|
| }
|
|
|
| -@initMethod
|
| -main() {
|
| +main() => initPolymer().run(() {
|
| + useHtmlConfiguration();
|
| +
|
| // 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
|
| // x-menu is registered before x-selector). See dartbug.com/17926.
|
| @@ -35,8 +36,6 @@ main() {
|
| Polymer.register('x-menu', XMenu);
|
| Polymer.register('x-menu-button', XMenuButton);
|
|
|
| - useHtmlConfiguration();
|
| -
|
| setUp(() => Polymer.onReady);
|
|
|
| test('bubbling in the right order', () {
|
| @@ -81,4 +80,4 @@ main() {
|
|
|
| item1.dispatchEvent(new Event('x', canBubble: true));
|
| });
|
| -}
|
| +});
|
|
|