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="instance_ref.html"> | 2 <link rel="import" href="instance_ref.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="field-ref" extends="service-ref"> | 6 <polymer-element name="field-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 <span> | 9 <span> |
10 <template if="{{ ref.isStatic] }}">static</template> | 10 <template if="{{ ref.isStatic] }}">static</template> |
11 <template if="{{ ref.isFinal }}">final</template> | 11 <template if="{{ ref.isFinal }}">final</template> |
12 <template if="{{ ref.isConst }}">const</template> | 12 <template if="{{ ref.isConst }}">const</template> |
13 <template if="{{ (ref.declaredType.name == 'dynamic' && | 13 <template if="{{ (ref.declaredType.name == 'dynamic' && |
14 !ref.isFinal && !ref.isConst) }}"> | 14 !ref.isFinal && !ref.isConst) }}"> |
15 var | 15 var |
16 </template> | 16 </template> |
17 <template if="{{ (ref.declaredType.name != 'dynamic') }}"> | 17 <template if="{{ (ref.declaredType.name != 'dynamic') }}"> |
18 <instance-ref ref="{{ ref.declaredType }}"></instance-ref> | 18 <instance-ref ref="{{ ref.declaredType }}"></instance-ref> |
19 </template> | 19 </template> |
20 <a on-click="{{ goto }}" title="{{ hoverText }}" _href="{{ url }}">{{ name
}}</a> | 20 <a on-click="{{ goto }}" title="{{ hoverText }}" _href="{{ url }}">{{ name
}}</a> |
21 </span> | 21 </span> |
22 </template> | 22 </template> |
23 </polymer-element> | 23 </polymer-element> |
24 | 24 |
25 <script type="application/dart" src="field_ref.dart"></script> | 25 <script type="application/dart" src="field_ref.dart"></script> |
OLD | NEW |