Index: runtime/observatory/lib/src/elements/script_view.dart |
diff --git a/runtime/observatory/lib/src/elements/script_view.dart b/runtime/observatory/lib/src/elements/script_view.dart |
deleted file mode 100644 |
index 537b5ac8381bb45f11538d9104ae092bfbcb5420..0000000000000000000000000000000000000000 |
--- a/runtime/observatory/lib/src/elements/script_view.dart |
+++ /dev/null |
@@ -1,35 +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 script_view_element; |
- |
-import 'observatory_element.dart'; |
-import 'package:observatory/elements.dart'; |
-import 'package:observatory/service.dart'; |
-import 'package:polymer/polymer.dart'; |
- |
-/// Displays an Script response. |
-@CustomTag('script-view') |
-class ScriptViewElement extends ObservatoryElement { |
- @published Script script; |
- |
- ScriptViewElement.created() : super.created(); |
- |
- @override |
- void attached() { |
- super.attached(); |
- if (script == null) { |
- return; |
- } |
- script.load(); |
- } |
- |
- void refresh(var done) { |
- script.reload().whenComplete(done); |
- } |
- |
- void refreshCoverage(var done) { |
- script.refreshCoverage().whenComplete(done); |
- } |
-} |