Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(394)

Unified Diff: runtime/bin/vmservice/client/lib/src/observatory_elements/script_view.dart

Issue 59283007: List scripts in library and display script source (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/bin/vmservice/client/lib/src/observatory_elements/script_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/script_view.dart
similarity index 60%
copy from runtime/bin/vmservice/client/lib/src/observatory_elements/error_view.dart
copy to runtime/bin/vmservice/client/lib/src/observatory_elements/script_view.dart
index 33c40890379c0e3bb7bf02064bbfcf8b2478b8ec..2b8550e761e0c949d9f69c9a38e0b9b0024637f6 100644
--- a/runtime/bin/vmservice/client/lib/src/observatory_elements/error_view.dart
+++ b/runtime/bin/vmservice/client/lib/src/observatory_elements/script_view.dart
@@ -2,16 +2,15 @@
// 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 script_view_element;
import 'package:polymer/polymer.dart';
import 'observatory_element.dart';
/// Displays an Error response.
-@CustomTag('error-view')
-class ErrorViewElement extends ObservatoryElement {
- @published String error = '';
- @published var error_obj;
+@CustomTag('script-view')
+class ScriptViewElement extends ObservatoryElement {
+ @published Map script;
- ErrorViewElement.created() : super.created();
+ ScriptViewElement.created() : super.created();
}

Powered by Google App Engine
This is Rietveld 408576698