| OLD | NEW |
| 1 <link rel="import" href="../../../../packages/polymer/polymer.html"> | 1 <link rel="import" href="../../../../packages/polymer/polymer.html"> |
| 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 | 5 |
| 6 <polymer-element name="instance-ref" extends="service-ref"> | 6 <polymer-element name="instance-ref" extends="service-ref"> |
| 7 <template> | 7 <template> |
| 8 <link rel="stylesheet" href="css/shared.css"> | 8 <link rel="stylesheet" href="css/shared.css"> |
| 9 <style> | 9 <style> |
| 10 .indented { | 10 .indented { |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 <curly-block callback="{{ expander() }}" expandKey="{{ expandKey }}"> | 99 <curly-block callback="{{ expander() }}" expandKey="{{ expandKey }}"> |
| 100 <div class="indented"> | 100 <div class="indented"> |
| 101 <template repeat="{{ association in ref.associations }}"> | 101 <template repeat="{{ association in ref.associations }}"> |
| 102 [ <any-service-ref ref="{{ association['key'] }}" | 102 [ <any-service-ref ref="{{ association['key'] }}" |
| 103 expandKey="{{ makeExpandKey('key') }}"> | 103 expandKey="{{ makeExpandKey('key') }}"> |
| 104 </any-service-ref> ] | 104 </any-service-ref> ] |
| 105 <any-service-ref ref="{{ association['value'] }}" | 105 <any-service-ref ref="{{ association['value'] }}" |
| 106 expandKey="{{ makeExpandKey('value') }}"> | 106 expandKey="{{ makeExpandKey('value') }}"> |
| 107 </any-service-ref><br> | 107 </any-service-ref><br> |
| 108 </template> | 108 </template> |
| 109 <template if="{{ ref.length != ref.association.length }}"> | 109 <template if="{{ ref.length != ref.associations.length }}"> |
| 110 <div><em>{{ ref.length - ref.association.length }} omitted associa
tion</em></div> | 110 <div><em>{{ ref.length - ref.associations.length }} omitted associ
ations</em></div> |
| 111 </template> | 111 </template> |
| 112 </div> | 112 </div> |
| 113 </curly-block> | 113 </curly-block> |
| 114 </template> | 114 </template> |
| 115 | 115 |
| 116 <template if="{{ ref.isTypedData }}"> | 116 <template if="{{ ref.isTypedData }}"> |
| 117 <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ ref.clazz.name }}</em>
({{ ref.length }})</a> | 117 <a on-click="{{ goto }}" _href="{{ url }}"><em>{{ ref.clazz.name }}</em>
({{ ref.length }})</a> |
| 118 <curly-block callback="{{ expander() }}" expandKey="{{ expandKey }}"> | 118 <curly-block callback="{{ expander() }}" expandKey="{{ expandKey }}"> |
| 119 <div class="indented"> | 119 <div class="indented"> |
| 120 <template repeat="{{ index in ref.typedElements.asMap().keys }}"> | 120 <template repeat="{{ index in ref.typedElements.asMap().keys }}"> |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 153 expandKey="{{ makeExpandKey('value') }}"> | 153 expandKey="{{ makeExpandKey('value') }}"> |
| 154 </any-service-ref><br> | 154 </any-service-ref><br> |
| 155 </div> | 155 </div> |
| 156 </curly-block> | 156 </curly-block> |
| 157 </template> | 157 </template> |
| 158 </span> | 158 </span> |
| 159 </template> | 159 </template> |
| 160 </polymer-element> | 160 </polymer-element> |
| 161 | 161 |
| 162 <script type="application/dart" src="instance_ref.dart"></script> | 162 <script type="application/dart" src="instance_ref.dart"></script> |
| OLD | NEW |