| Index: runtime/bin/vmservice/client/lib/src/observatory_elements/observatory_application.dart
|
| diff --git a/runtime/bin/vmservice/client/lib/src/observatory_elements/observatory_application.dart b/runtime/bin/vmservice/client/lib/src/observatory_elements/observatory_application.dart
|
| index 53dbb0bccb7ae9f93be88924036b9ccf4529dc71..affc779e32e7a6e244d75e7cf4c9dc2fd5057f7e 100644
|
| --- a/runtime/bin/vmservice/client/lib/src/observatory_elements/observatory_application.dart
|
| +++ b/runtime/bin/vmservice/client/lib/src/observatory_elements/observatory_application.dart
|
| @@ -13,8 +13,12 @@ import 'package:polymer/polymer.dart';
|
| /// elements.
|
| @CustomTag('observatory-application')
|
| class ObservatoryApplicationElement extends ObservatoryElement {
|
| -
|
| + @published bool devtools = false;
|
| ObservatoryApplicationElement.created() : super.created() {
|
| - app = new ObservatoryApplication();
|
| + if (devtools) {
|
| + app = new ObservatoryApplication.devtools();
|
| + } else {
|
| + app = new ObservatoryApplication();
|
| + }
|
| }
|
| -}
|
| +}
|
|
|