OLD | NEW |
1 <link rel="import" href="../../../../packages/polymer/polymer.html"> | 1 <link rel="import" href="../../../../packages/polymer/polymer.html"> |
2 <link rel="import" href="curly_block.html"> | 2 <link rel="import" href="curly_block.html"> |
3 <link rel="import" href="observatory_element.html"> | 3 <link rel="import" href="observatory_element.html"> |
4 <link rel="import" href="service_ref.html"> | 4 <link rel="import" href="service_ref.html"> |
5 | 5 |
6 <polymer-element name="instance-ref" extends="service-ref"> | 6 <polymer-element name="instance-ref" extends="service-ref"> |
7 <template> | 7 <template> |
8 <link rel="stylesheet" href="css/shared.css"> | 8 <link rel="stylesheet" href="css/shared.css"> |
9 <style> | 9 <style> |
10 .errorBox { | 10 .errorBox { |
(...skipping 20 matching lines...) Expand all Loading... |
31 <a on-click="{{ goto }}" _href="{{ url }}">{{ asStringLiteral(ref.valueA
sString, ref.valueAsStringIsTruncated) }}</a> | 31 <a on-click="{{ goto }}" _href="{{ url }}">{{ asStringLiteral(ref.valueA
sString, ref.valueAsStringIsTruncated) }}</a> |
32 </template> | 32 </template> |
33 | 33 |
34 | 34 |
35 <template if="{{ ref.isAbstractType }}"> | 35 <template if="{{ ref.isAbstractType }}"> |
36 <a on-click="{{ goto }}" _href="{{ url }}">{{ ref.name }}</a> | 36 <a on-click="{{ goto }}" _href="{{ url }}">{{ ref.name }}</a> |
37 </template> | 37 </template> |
38 | 38 |
39 <template if="{{ ref.isClosure }}"> | 39 <template if="{{ ref.isClosure }}"> |
40 <a on-click="{{ goto }}" _href="{{ url }}"> | 40 <a on-click="{{ goto }}" _href="{{ url }}"> |
41 <!-- TODO(turnidge): Switch this to fully-qualified function --> | 41 {{ ref.closureFunc.qualifiedName }} |
42 {{ ref.closureFunc.name }} | |
43 </a> | 42 </a> |
44 </template> | 43 </template> |
45 | 44 |
46 <template if="{{ ref.isPlainInstance }}"> | 45 <template if="{{ ref.isPlainInstance }}"> |
47 <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ ref.clazz.name }}</em>
</a> | 46 <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ ref.clazz.name }}</em>
</a> |
48 <curly-block callback="{{ expander() }}"> | 47 <curly-block callback="{{ expander() }}"> |
49 <div class="memberList"> | 48 <div class="memberList"> |
50 <template repeat="{{ field in ref.fields }}"> | 49 <template repeat="{{ field in ref.fields }}"> |
51 <div class="memberItem"> | 50 <div class="memberItem"> |
52 <div class="memberName"> | 51 <div class="memberName"> |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
108 </div> | 107 </div> |
109 </div> | 108 </div> |
110 </div> | 109 </div> |
111 </curly-block> | 110 </curly-block> |
112 </template> | 111 </template> |
113 </span> | 112 </span> |
114 </template> | 113 </template> |
115 </polymer-element> | 114 </polymer-element> |
116 | 115 |
117 <script type="application/dart" src="instance_ref.dart"></script> | 116 <script type="application/dart" src="instance_ref.dart"></script> |
OLD | NEW |