| 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 .memberList { | 9 .memberList { |
| 10 display: table; | 10 display: table; |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 <template if="{{ isError(ref.serviceType) }}"> | 27 <template if="{{ isError(ref.serviceType) }}"> |
| 28 <pre>{{ ref.message }}</pre> | 28 <pre>{{ ref.message }}</pre> |
| 29 </template> | 29 </template> |
| 30 | 30 |
| 31 <template if="{{ isNull(ref.serviceType) }}"> | 31 <template if="{{ isNull(ref.serviceType) }}"> |
| 32 <div title="{{ hoverText }}">{{ ref['preview'] }}</div> | 32 <div title="{{ hoverText }}">{{ ref['preview'] }}</div> |
| 33 </template> | 33 </template> |
| 34 | 34 |
| 35 <template if="{{ (isString(ref.serviceType) || | 35 <template if="{{ (isString(ref.serviceType) || |
| 36 isBool(ref.serviceType) || | 36 isBool(ref.serviceType) || |
| 37 isInt(ref.serviceType)) }}"> | 37 isInt(ref.serviceType)) || |
| 38 isDouble(ref.serviceType)) }}"> |
| 38 <a href="{{ url }}">{{ ref['preview'] }}</a> | 39 <a href="{{ url }}">{{ ref['preview'] }}</a> |
| 39 </template> | 40 </template> |
| 40 | 41 |
| 41 <template if="{{ isClosure(ref.serviceType) }}"> | 42 <template if="{{ isClosure(ref.serviceType) }}"> |
| 42 <a href="{{ url }}"> | 43 <a href="{{ url }}"> |
| 43 <!-- TODO(turnidge): Switch this to fully-qualified function --> | 44 <!-- TODO(turnidge): Switch this to fully-qualified function --> |
| 44 {{ ref['closureFunc']['user_name'] }} | 45 {{ ref['closureFunc']['user_name'] }} |
| 45 </a> | 46 </a> |
| 46 </template> | 47 </template> |
| 47 | 48 |
| (...skipping 28 matching lines...) Expand all Loading... |
| 76 </div> | 77 </div> |
| 77 </template> | 78 </template> |
| 78 </div> | 79 </div> |
| 79 </curly-block> | 80 </curly-block> |
| 80 </template> | 81 </template> |
| 81 | 82 |
| 82 </div> | 83 </div> |
| 83 </template> | 84 </template> |
| 84 <script type="application/dart" src="instance_ref.dart"></script> | 85 <script type="application/dart" src="instance_ref.dart"></script> |
| 85 </polymer-element> | 86 </polymer-element> |
| OLD | NEW |