| Index: runtime/observatory/lib/src/elements/observatory_application.dart
|
| diff --git a/runtime/observatory/lib/src/elements/observatory_application.dart b/runtime/observatory/lib/src/elements/observatory_application.dart
|
| index 4acdc6575bcaa90772680166fc826e0e71db29a4..0e85692d6b3793c42c92d72e5609ceffc7fcfb50 100644
|
| --- a/runtime/observatory/lib/src/elements/observatory_application.dart
|
| +++ b/runtime/observatory/lib/src/elements/observatory_application.dart
|
| @@ -4,22 +4,24 @@
|
|
|
| library observatory_application_element;
|
|
|
| -import 'observatory_element.dart';
|
| +import 'dart:html';
|
| import 'package:observatory/app.dart';
|
| -import 'package:polymer/polymer.dart';
|
| +import 'package:observatory/src/elements/helpers/tag.dart';
|
|
|
| /// Main application tag. Responsible for instantiating an instance of
|
| /// [ObservatoryApplication] which is passed declaratively to all child
|
| /// elements.
|
| -@CustomTag('observatory-application')
|
| -class ObservatoryApplicationElement extends ObservatoryElement {
|
| +class ObservatoryApplicationElement extends HtmlElement {
|
| + static const tag =
|
| + const Tag<ObservatoryApplicationElement>('observatory-application');
|
| +
|
| ObservatoryApplication app;
|
|
|
| ObservatoryApplicationElement.created() : super.created();
|
|
|
| @override
|
| - void domReady() {
|
| - super.domReady();
|
| + void attached() {
|
| + super.attached();
|
| app = new ObservatoryApplication(this);
|
| }
|
| }
|
|
|