Index: runtime/observatory/lib/src/elements/instance_view.dart |
diff --git a/runtime/observatory/lib/src/elements/instance_view.dart b/runtime/observatory/lib/src/elements/instance_view.dart |
deleted file mode 100644 |
index 556a279a752927bbf9a1b1ccbb8628ffedf689a2..0000000000000000000000000000000000000000 |
--- a/runtime/observatory/lib/src/elements/instance_view.dart |
+++ /dev/null |
@@ -1,26 +0,0 @@ |
-// Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
-// for details. All rights reserved. Use of this source code is governed by a |
-// BSD-style license that can be found in the LICENSE file. |
- |
-library instance_view_element; |
- |
-import 'dart:async'; |
-import 'observatory_element.dart'; |
-import 'package:observatory/service.dart'; |
-import 'package:polymer/polymer.dart'; |
- |
-@CustomTag('instance-view') |
-class InstanceViewElement extends ObservatoryElement { |
- @published Instance instance; |
- |
- InstanceViewElement.created() : super.created(); |
- |
- Future<ServiceObject> eval(String text) { |
- return instance.isolate.get( |
- instance.id + "/eval?expr=${Uri.encodeComponent(text)}"); |
- } |
- |
- void refresh(Function onDone) { |
- instance.reload().whenComplete(onDone); |
- } |
-} |