| 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 {{ ref.function.qualifiedName }} | 41 <em>Closure</em> ({{ ref.function.qualifiedName }}) |
| 42 </a> | 42 </a> |
| 43 </template> | 43 </template> |
| 44 | 44 |
| 45 <template if="{{ ref.isRegExp }}"> | 45 <template if="{{ ref.isRegExp }}"> |
| 46 <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ ref.clazz.name }}({{ r
ef.pattern.valueAsString }})</em></a> | 46 <a on-click="{{ goto }}" _href="{{ url }}"> |
| 47 <em>{{ ref.clazz.name }}</em> ({{ ref.pattern.valueAsString }}) |
| 48 </a> |
| 47 </template> | 49 </template> |
| 48 | 50 |
| 49 <template if="{{ ref.isPlainInstance }}"> | 51 <template if="{{ ref.isPlainInstance }}"> |
| 50 <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ ref.clazz.name }}</em>
</a> | 52 <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ ref.clazz.name }}</em>
</a> |
| 51 <curly-block callback="{{ expander() }}"> | 53 <curly-block callback="{{ expander() }}"> |
| 52 <div class="memberList"> | 54 <div class="memberList"> |
| 53 <template repeat="{{ field in ref.fields }}"> | 55 <template repeat="{{ field in ref.fields }}"> |
| 54 <div class="memberItem"> | 56 <div class="memberItem"> |
| 55 <div class="memberName"> | 57 <div class="memberName"> |
| 56 {{ field['decl'].name }} | 58 {{ field['decl'].name }} |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 144 </div> | 146 </div> |
| 145 </div> | 147 </div> |
| 146 </div> | 148 </div> |
| 147 </curly-block> | 149 </curly-block> |
| 148 </template> | 150 </template> |
| 149 </span> | 151 </span> |
| 150 </template> | 152 </template> |
| 151 </polymer-element> | 153 </polymer-element> |
| 152 | 154 |
| 153 <script type="application/dart" src="instance_ref.dart"></script> | 155 <script type="application/dart" src="instance_ref.dart"></script> |
| OLD | NEW |