| OLD | NEW |
| 1 <head> | 1 <head> |
| 2 <link rel="import" href="observatory_element.html"> | 2 <link rel="import" href="observatory_element.html"> |
| 3 <link rel="import" href="service_ref.html"> | 3 <link rel="import" href="service_ref.html"> |
| 4 </head> | 4 </head> |
| 5 <polymer-element name="instance-ref" extends="service-ref"> | 5 <polymer-element name="instance-ref" extends="service-ref"> |
| 6 <template> | 6 <template> |
| 7 <div> | 7 <div> |
| 8 <template if="{{ (ref['type'] == 'null') }}"> | 8 <template if="{{ (ref['type'] == 'null') }}"> |
| 9 {{ "null" }} | 9 unexpected null |
| 10 </template> | 10 </template> |
| 11 <template if="{{ (ref['type'] != 'null') }}"> | 11 <template if="{{ (ref['type'] == '@Null') }}"> |
| 12 <a href="{{ url }}">{{ name }} </a> | 12 {{ name }} |
| 13 </template> |
| 14 <template if="{{ (ref['type'] != 'null') && ref['type'] != '@Null' }}"> |
| 15 <a href="{{ url }}">{{ name }} </a> |
| 13 </template> | 16 </template> |
| 14 </div> | 17 </div> |
| 15 </template> | 18 </template> |
| 16 <script type="application/dart" src="instance_ref.dart"></script> | 19 <script type="application/dart" src="instance_ref.dart"></script> |
| 17 </polymer-element> | 20 </polymer-element> |
| OLD | NEW |