OLD | NEW |
1 <head> | 1 <head> |
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 </head> | 5 </head> |
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="packages/observatory/src/elements/css/shared.css"
> | 8 <link rel="stylesheet" href="css/shared.css"> |
9 <div> | 9 <div> |
10 <template if="{{ ref['static'] }}">static</template> | 10 <template if="{{ ref['static'] }}">static</template> |
11 <template if="{{ ref['final'] }}">final</template> | 11 <template if="{{ ref['final'] }}">final</template> |
12 <template if="{{ ref['const'] }}">const</template> | 12 <template if="{{ ref['const'] }}">const</template> |
13 <template if="{{ (ref['declared_type']['name'] == 'dynamic' && | 13 <template if="{{ (ref['declared_type']['name'] == 'dynamic' && |
14 !ref['final'] && !ref['const']) }}"> | 14 !ref['final'] && !ref['const']) }}"> |
15 var | 15 var |
16 </template> | 16 </template> |
17 <template if="{{ (ref['declared_type']['name'] != 'dynamic') }}"> | 17 <template if="{{ (ref['declared_type']['name'] != 'dynamic') }}"> |
18 <instance-ref ref="{{ ref['declared_type'] }}"></instance-ref> | 18 <instance-ref ref="{{ ref['declared_type'] }}"></instance-ref> |
19 </template> | 19 </template> |
20 <a title="{{ hoverText }}" href="{{ url }}">{{ name }}</a> | 20 <a title="{{ hoverText }}" href="{{ url }}">{{ name }}</a> |
21 </div> | 21 </div> |
22 </template> | 22 </template> |
23 <script type="application/dart" src="field_ref.dart"></script> | 23 <script type="application/dart;component=1" src="field_ref.dart"></script> |
24 </polymer-element> | 24 </polymer-element> |
OLD | NEW |