| OLD | NEW |
| 1 <head> | 1 <head> |
| 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 </head> | 5 </head> |
| 6 <polymer-element name="instance-ref" extends="service-ref"> | 6 <polymer-element name="instance-ref" extends="service-ref"> |
| 7 <template> | 7 <template> |
| 8 <style> | 8 <style> |
| 9 .member { | 9 .member { |
| 10 vertical-align: top; | 10 vertical-align: top; |
| 11 padding: 0 0 0 1em; | 11 padding: 1px 0 1px 1em; |
| 12 } | 12 } |
| 13 </style> | 13 </style> |
| 14 <div> | 14 <div> |
| 15 <template if="{{ isUnexpected(ref.serviceType) }}"> | 15 <template if="{{ isUnexpected(ref.serviceType) }}"> |
| 16 unexpected reference type <{{ ref['type'] }}> | 16 unexpected reference type <{{ ref.serviceType }}> |
| 17 </template> |
| 18 |
| 19 <template if="{{ isError(ref.serviceType) }}"> |
| 20 <pre>{{ ref.message }}</pre> |
| 17 </template> | 21 </template> |
| 18 | 22 |
| 19 <template if="{{ isNull(ref.serviceType) }}"> | 23 <template if="{{ isNull(ref.serviceType) }}"> |
| 20 <div title="{{ hoverText }}">{{ ref['preview'] }}</div> | 24 <div title="{{ hoverText }}">{{ ref['preview'] }}</div> |
| 21 </template> | 25 </template> |
| 22 | 26 |
| 23 <template if="{{ (isString(ref.serviceType) || | 27 <template if="{{ (isString(ref.serviceType) || |
| 24 isBool(ref.serviceType) || | 28 isBool(ref.serviceType) || |
| 25 isInt(ref.serviceType)) }}"> | 29 isInt(ref.serviceType)) }}"> |
| 26 <a href="{{ url }}">{{ ref['preview'] }}</a> | 30 <a href="{{ url }}">{{ ref['preview'] }}</a> |
| (...skipping 30 matching lines...) Expand all Loading... |
| 57 </td> | 61 </td> |
| 58 </tr> | 62 </tr> |
| 59 </table> | 63 </table> |
| 60 </curly-block> | 64 </curly-block> |
| 61 </template> | 65 </template> |
| 62 | 66 |
| 63 </div> | 67 </div> |
| 64 </template> | 68 </template> |
| 65 <script type="application/dart" src="instance_ref.dart"></script> | 69 <script type="application/dart" src="instance_ref.dart"></script> |
| 66 </polymer-element> | 70 </polymer-element> |
| OLD | NEW |