OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 library function_ref_element; | 5 library function_ref_element; |
6 | 6 |
7 import 'dart:html'; | 7 import 'dart:html'; |
8 import 'package:polymer/polymer.dart'; | 8 import 'package:polymer/polymer.dart'; |
9 import 'package:observatory/service.dart'; | 9 import 'package:observatory/service.dart'; |
10 import 'service_ref.dart'; | 10 import 'service_ref.dart'; |
(...skipping 29 matching lines...) Expand all Loading... |
40 functionRef.qualified = true; | 40 functionRef.qualified = true; |
41 shadowRoot.children.add(functionRef); | 41 shadowRoot.children.add(functionRef); |
42 insertTextSpanIntoShadowRoot('.'); | 42 insertTextSpanIntoShadowRoot('.'); |
43 } | 43 } |
44 } | 44 } |
45 insertLinkIntoShadowRoot(name, url, hoverText); | 45 insertLinkIntoShadowRoot(name, url, hoverText); |
46 } else { | 46 } else { |
47 insertTextSpanIntoShadowRoot(name); | 47 insertTextSpanIntoShadowRoot(name); |
48 } | 48 } |
49 } | 49 } |
50 } | 50 } |
OLD | NEW |