OLD | NEW |
1 <head> | 1 <head> |
2 <link rel="import" href="class_ref.html"> | 2 <link rel="import" href="class_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 <div> | 8 <div> |
9 <template if="{{ ref['final'] }}"> final </template> | 9 <template if="{{ ref['final'] }}"> final </template> |
10 <template if="{{ ref['const'] }}"> const </template> | 10 <template if="{{ ref['const'] }}"> const </template> |
11 <template if="{{ (ref['declared_type']['name'] == 'dynamic' && !ref['final'] &
& !ref['const']) }}"> | 11 <template if="{{ (ref['declared_type']['name'] == 'dynamic' && !ref['final'] &
& !ref['const']) }}"> |
12 var | 12 var |
13 </template> | 13 </template> |
14 <template if="{{ (ref['declared_type']['name'] != 'dynamic') }}"> | 14 <template if="{{ (ref['declared_type']['name'] != 'dynamic') }}"> |
15 <class-ref app="{{ app }}" ref="{{ ref['declared_type'] }}"></class-ref> | 15 <class-ref app="{{ app }}" ref="{{ ref['declared_type'] }}"></class-ref> |
16 </template> | 16 </template> |
17 <a href="{{ url }}">{{ name }}</a> | 17 <a title="{{ hoverText }}" href="{{ url }}">{{ name }}</a> |
18 </div> | 18 </div> |
19 </template> <script type="application/dart" src="field_ref.dart"></script> </pol
ymer-element> | 19 </template> <script type="application/dart" src="field_ref.dart"></script> </pol
ymer-element> |
OLD | NEW |