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 13 matching lines...) Expand all Loading... |
24 | 24 |
25 <template if="{{ !context.isError }}"> | 25 <template if="{{ !context.isError }}"> |
26 <div class="content"> | 26 <div class="content"> |
27 <h1>instance of Context</h1> | 27 <h1>instance of Context</h1> |
28 | 28 |
29 <object-common object="{{ context }}"></object-common> | 29 <object-common object="{{ context }}"></object-common> |
30 | 30 |
31 <div class="memberList"> | 31 <div class="memberList"> |
32 <div class="memberItem"> </div> | 32 <div class="memberItem"> </div> |
33 | 33 |
34 <div class="memberItem"> | 34 <template if="{{ context.parentContext != null }}"> |
35 <div class="memberName">parent context</div> | 35 <div class="memberItem"> |
36 <div class="memberValue"> | 36 <div class="memberName">parent context</div> |
37 <any-service-ref ref="{{ context.parentContext }}"></any-service-r
ef> | 37 <div class="memberValue"> |
| 38 <any-service-ref ref="{{ context.parentContext }}"></any-service
-ref> |
| 39 </div> |
38 </div> | 40 </div> |
39 </div> | 41 </template> |
40 </div> | 42 </div> |
41 </div> | 43 </div> |
42 | 44 |
43 <hr> | 45 <hr> |
44 | 46 |
45 <div class="content"> | 47 <div class="content"> |
46 <template if="{{ context.variables.isNotEmpty }}"> | 48 <template if="{{ context.variables.isNotEmpty }}"> |
47 variables ({{ context.variables.length }}) | 49 variables ({{ context.variables.length }}) |
48 <curly-block expand="{{ context.variables.length <= 8 }}"> | 50 <curly-block expand="{{ context.variables.length <= 8 }}"> |
49 <div class="memberList"> | 51 <div class="memberList"> |
50 <template repeat="{{ index in context.variables.asMap().keys }}"> | 52 <template repeat="{{ index in context.variables.asMap().keys }}"> |
51 <div class="memberItem"> | 53 <div class="memberItem"> |
52 <div class="memberName">[{{ index }}]</div> | 54 <div class="memberName">[{{ index }}]</div> |
53 <div class="memberValue"> | 55 <div class="memberValue"> |
54 <any-service-ref | 56 <any-service-ref |
55 ref="{{ context.variables[index]{'value'] }}"> | 57 ref="{{ context.variables[index]['value'] }}"> |
56 </any-service-ref> | 58 </any-service-ref> |
57 </div> | 59 </div> |
58 </div> | 60 </div> |
59 </template> | 61 </template> |
60 </div> | 62 </div> |
61 </curly-block><br><br> | 63 </curly-block><br><br> |
62 </template> | 64 </template> |
63 </div> | 65 </div> |
64 </template> | 66 </template> |
65 <view-footer></view-footer> | 67 <view-footer></view-footer> |
66 </template> | 68 </template> |
67 </polymer-element> | 69 </polymer-element> |
68 | 70 |
69 <script type="application/dart" src="context_view.dart"></script> | 71 <script type="application/dart" src="context_view.dart"></script> |
OLD | NEW |