Index: runtime/observatory/lib/src/elements/class_ref_wrapper.dart |
diff --git a/runtime/observatory/lib/src/elements/code_ref_wrapper.dart b/runtime/observatory/lib/src/elements/class_ref_wrapper.dart |
similarity index 61% |
copy from runtime/observatory/lib/src/elements/code_ref_wrapper.dart |
copy to runtime/observatory/lib/src/elements/class_ref_wrapper.dart |
index 503a784ca03e23009c04be49611879f9aa8fb13b..daa15b75ea6b5214029c10bae9c1ee1bb335be6e 100644 |
--- a/runtime/observatory/lib/src/elements/code_ref_wrapper.dart |
+++ b/runtime/observatory/lib/src/elements/class_ref_wrapper.dart |
@@ -5,25 +5,25 @@ |
import 'dart:html'; |
import 'package:observatory/app.dart'; |
-import 'package:observatory/service_html.dart' show Code; |
-import 'package:observatory/src/elements/code_ref.dart'; |
+import 'package:observatory/service_html.dart' show Class; |
+import 'package:observatory/src/elements/class_ref.dart'; |
import 'package:observatory/src/elements/helpers/tag.dart'; |
import 'package:observatory/src/elements/shims/binding.dart'; |
@bindable |
-class CodeRefElementWrapper extends HtmlElement { |
+class ClassRefElementWrapper extends HtmlElement { |
- static const binder = const Binder<CodeRefElementWrapper>(const { |
+ static const binder = const Binder<ClassRefElementWrapper>(const { |
'ref': #ref |
}); |
- static const tag = const Tag<CodeRefElementWrapper>('code-ref'); |
+ static const tag = const Tag<ClassRefElementWrapper>('class-ref'); |
- Code _code; |
- Code get ref => _code; |
- void set ref(Code ref) { _code = ref; render(); } |
+ Class _class; |
+ Class get ref => _class; |
+ void set ref(Class ref) { _class = ref; render(); } |
- CodeRefElementWrapper.created() : super.created() { |
+ ClassRefElementWrapper.created() : super.created() { |
binder.registerCallback(this); |
createShadowRoot(); |
render(); |
@@ -42,14 +42,14 @@ class CodeRefElementWrapper extends HtmlElement { |
shadowRoot.children = [ |
new StyleElement() |
..text = ''' |
- code-ref-wrapped > a[href]:hover { |
+ class-ref-wrapped > a[href]:hover { |
text-decoration: underline; |
} |
- code-ref-wrapped > a[href] { |
+ class-ref-wrapped > a[href] { |
color: #0489c3; |
text-decoration: none; |
}''', |
- new CodeRefElement(_code.isolate, _code, |
+ new ClassRefElement(_class.isolate, _class, |
queue: ObservatoryApplication.app.queue) |
]; |
} |