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="class_ref.html"> | 2 <link rel="import" href="class_ref.html"> |
3 <link rel="import" href="error_view.html"> | 3 <link rel="import" href="error_view.html"> |
4 <link rel="import" href="eval_box.html"> | 4 <link rel="import" href="eval_box.html"> |
5 <link rel="import" href="eval_link.html"> | 5 <link rel="import" href="eval_link.html"> |
6 <link rel="import" href="field_ref.html"> | 6 <link rel="import" href="field_ref.html"> |
7 <link rel="import" href="function_ref.html"> | 7 <link rel="import" href="function_ref.html"> |
8 <link rel="import" href="inbound_reference.html"> | 8 <link rel="import" href="inbound_reference.html"> |
9 <link rel="import" href="instance_ref.html"> | 9 <link rel="import" href="instance_ref.html"> |
10 <link rel="import" href="observatory_element.html"> | 10 <link rel="import" href="observatory_element.html"> |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 </div> | 161 </div> |
162 </template> | 162 </template> |
163 </div> | 163 </div> |
164 </curly-block><br><br> | 164 </curly-block><br><br> |
165 </template> | 165 </template> |
166 | 166 |
167 <template if="{{ instance.elements.isNotEmpty }}"> | 167 <template if="{{ instance.elements.isNotEmpty }}"> |
168 elements ({{ instance.elements.length }}) | 168 elements ({{ instance.elements.length }}) |
169 <curly-block expand="{{ instance.elements.length <= 100 }}"> | 169 <curly-block expand="{{ instance.elements.length <= 100 }}"> |
170 <div class="memberList"> | 170 <div class="memberList"> |
171 <template repeat="{{ element in instance.elements }}"> | 171 <template repeat="{{ index in instance.elements.asMap().keys }}"> |
172 <div class="memberItem"> | 172 <div class="memberItem"> |
173 <div class="memberName">[{{ element['index']}}]</div> | 173 <div class="memberName">[{{ index }}]</div> |
174 <div class="memberValue"> | 174 <div class="memberValue"> |
175 <any-service-ref ref="{{ element['value'] }}"></any-service-
ref> | 175 <any-service-ref ref="{{ instance.elements[index] }}"> |
| 176 </any-service-ref> |
176 </div> | 177 </div> |
177 </div> | 178 </div> |
178 </template> | 179 </template> |
179 </div> | 180 </div> |
180 </curly-block><br><br> | 181 </curly-block><br><br> |
181 </template> | 182 </template> |
182 | 183 |
183 <template if="{{ instance.associations.isNotEmpty }}"> | 184 <template if="{{ instance.associations.isNotEmpty }}"> |
184 associations ({{ instance.elements.length }}) | 185 associations ({{ instance.elements.length }}) |
185 <curly-block expand="{{ instance.associations.length <= 100 }}"> | 186 <curly-block expand="{{ instance.associations.length <= 100 }}"> |
(...skipping 13 matching lines...) Expand all Loading... |
199 </template> | 200 </template> |
200 | 201 |
201 </div> | 202 </div> |
202 | 203 |
203 </template> | 204 </template> |
204 <view-footer></view-footer> | 205 <view-footer></view-footer> |
205 </template> | 206 </template> |
206 </polymer-element> | 207 </polymer-element> |
207 | 208 |
208 <script type="application/dart" src="instance_view.dart"></script> | 209 <script type="application/dart" src="instance_view.dart"></script> |
OLD | NEW |