Index: runtime/bin/vmservice/client/lib/src/observatory_elements/source_view.dart |
diff --git a/runtime/bin/vmservice/client/lib/src/observatory_elements/error_view.dart b/runtime/bin/vmservice/client/lib/src/observatory_elements/source_view.dart |
similarity index 57% |
copy from runtime/bin/vmservice/client/lib/src/observatory_elements/error_view.dart |
copy to runtime/bin/vmservice/client/lib/src/observatory_elements/source_view.dart |
index 33c40890379c0e3bb7bf02064bbfcf8b2478b8ec..4065aed775476e56c289b6d5da0547a34014fccb 100644 |
--- a/runtime/bin/vmservice/client/lib/src/observatory_elements/error_view.dart |
+++ b/runtime/bin/vmservice/client/lib/src/observatory_elements/source_view.dart |
@@ -2,16 +2,16 @@ |
// 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 error_view_element; |
+library source_view_element; |
import 'package:polymer/polymer.dart'; |
+import 'package:observatory/observatory.dart'; |
import 'observatory_element.dart'; |
/// Displays an Error response. |
-@CustomTag('error-view') |
-class ErrorViewElement extends ObservatoryElement { |
- @published String error = ''; |
- @published var error_obj; |
+@CustomTag('source-view') |
+class SourceViewElement extends ObservatoryElement { |
+ @published ScriptSource source; |
- ErrorViewElement.created() : super.created(); |
+ SourceViewElement.created() : super.created(); |
} |