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="field_ref.html"> | 3 <link rel="import" href="field_ref.html"> |
4 <link rel="import" href="function_ref.html"> | 4 <link rel="import" href="function_ref.html"> |
5 <link rel="import" href="instance_ref.html"> | 5 <link rel="import" href="instance_ref.html"> |
6 <link rel="import" href="observatory_element.html"> | 6 <link rel="import" href="observatory_element.html"> |
7 <link rel="import" href="nav_bar.html"> | 7 <link rel="import" href="nav_bar.html"> |
8 <link rel="import" href="object_common.html"> | 8 <link rel="import" href="object_common.html"> |
9 <link rel="import" href="context_ref.html"> | 9 <link rel="import" href="context_ref.html"> |
10 <link rel="import" href="view_footer.html"> | 10 <link rel="import" href="view_footer.html"> |
(...skipping 29 matching lines...) Expand all Loading... |
40 </div> | 40 </div> |
41 </div> | 41 </div> |
42 | 42 |
43 <hr> | 43 <hr> |
44 | 44 |
45 <div class="content"> | 45 <div class="content"> |
46 <template if="{{ context.variables.isNotEmpty }}"> | 46 <template if="{{ context.variables.isNotEmpty }}"> |
47 variables ({{ context.variables.length }}) | 47 variables ({{ context.variables.length }}) |
48 <curly-block expand="{{ context.variables.length <= 8 }}"> | 48 <curly-block expand="{{ context.variables.length <= 8 }}"> |
49 <div class="memberList"> | 49 <div class="memberList"> |
50 <template repeat="{{ variable in context.variables }}"> | 50 <template repeat="{{ index in context.variables.asMap().keys }}"> |
51 <div class="memberItem"> | 51 <div class="memberItem"> |
52 <div class="memberName">[{{ variable['index']}}]</div> | 52 <div class="memberName">[{{ index }}]</div> |
53 <div class="memberValue"> | 53 <div class="memberValue"> |
54 <any-service-ref ref="{{ variable['value'] }}"></any-service
-ref> | 54 <any-service-ref |
| 55 ref="{{ context.variables[index]{'value'] }}"> |
| 56 </any-service-ref> |
55 </div> | 57 </div> |
56 </div> | 58 </div> |
57 </template> | 59 </template> |
58 </div> | 60 </div> |
59 </curly-block><br><br> | 61 </curly-block><br><br> |
60 </template> | 62 </template> |
61 </div> | 63 </div> |
62 </template> | 64 </template> |
63 <view-footer></view-footer> | 65 <view-footer></view-footer> |
64 </template> | 66 </template> |
65 </polymer-element> | 67 </polymer-element> |
66 | 68 |
67 <script type="application/dart" src="context_view.dart"></script> | 69 <script type="application/dart" src="context_view.dart"></script> |
OLD | NEW |