| 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 11 matching lines...) Expand all Loading... |
| 22 <span> | 22 <span> |
| 23 <template if="{{ isUnexpected(ref.serviceType) }}"> | 23 <template if="{{ isUnexpected(ref.serviceType) }}"> |
| 24 unexpected reference type <{{ ref.serviceType }}> | 24 unexpected reference type <{{ ref.serviceType }}> |
| 25 </template> | 25 </template> |
| 26 | 26 |
| 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['valueAsString'] }}</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 isDouble(ref.serviceType)) }}"> |
| 39 <a href="{{ url }}">{{ ref['preview'] }}</a> | 39 <a href="{{ url }}">{{ ref['valueAsString'] }}</a> |
| 40 </template> | 40 </template> |
| 41 | 41 |
| 42 <template if="{{ (isType(ref.serviceType)) }}"> | 42 <template if="{{ (isType(ref.serviceType)) }}"> |
| 43 <a href="{{ url }}">{{ ref['user_name'] }}</a> | 43 <a href="{{ url }}">{{ ref['user_name'] }}</a> |
| 44 </template> | 44 </template> |
| 45 | 45 |
| 46 <template if="{{ isInstance(ref.serviceType) && | 46 <template if="{{ isInstance(ref.serviceType) && |
| 47 ref['closureFunc'] != null}}"> | 47 ref['closureFunc'] != null}}"> |
| 48 <a href="{{ url }}"> | 48 <a href="{{ url }}"> |
| 49 <!-- TODO(turnidge): Switch this to fully-qualified function --> | 49 <!-- TODO(turnidge): Switch this to fully-qualified function --> |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 </div> | 82 </div> |
| 83 </div> | 83 </div> |
| 84 </template> | 84 </template> |
| 85 </div> | 85 </div> |
| 86 </curly-block> | 86 </curly-block> |
| 87 </template> | 87 </template> |
| 88 </span> | 88 </span> |
| 89 </template> | 89 </template> |
| 90 <script type="application/dart" src="instance_ref.dart"></script> | 90 <script type="application/dart" src="instance_ref.dart"></script> |
| 91 </polymer-element> | 91 </polymer-element> |
| OLD | NEW |