OLD | NEW |
1 <head> | 1 <head> |
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="instance_ref.html"> | 8 <link rel="import" href="instance_ref.html"> |
9 <link rel="import" href="observatory_element.html"> | 9 <link rel="import" href="observatory_element.html"> |
10 <link rel="import" href="nav_bar.html"> | 10 <link rel="import" href="nav_bar.html"> |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 <div class="memberValue">{{ instance['valueAsString'] }}</div> | 48 <div class="memberValue">{{ instance['valueAsString'] }}</div> |
49 </div> | 49 </div> |
50 </template> | 50 </template> |
51 <div class="memberItem"> | 51 <div class="memberItem"> |
52 <div class="memberName">size</div> | 52 <div class="memberName">size</div> |
53 <div class="memberValue">{{ instance['size'] | formatSize }}</div> | 53 <div class="memberValue">{{ instance['size'] | formatSize }}</div> |
54 </div> | 54 </div> |
55 <div class="memberItem"> | 55 <div class="memberItem"> |
56 <div class="memberName">retained size</div> | 56 <div class="memberName">retained size</div> |
57 <div class="memberValue"> | 57 <div class="memberValue"> |
58 <eval-link callback="{{ retainedSize }}"></eval-link> | 58 <eval-link callback="{{ retainedSize }}" |
| 59 label="[calculate]"> |
| 60 </eval-link> |
| 61 </div> |
| 62 </div> |
| 63 </div> |
| 64 <div class="memberItem"> |
| 65 <div class="memberName">retaining path</div> |
| 66 <div class="memberValue"> |
| 67 <template if="{{ path == null }}"> |
| 68 <eval-link callback="{{ retainingPath }}" |
| 69 label="[find]" |
| 70 expr="10"> |
| 71 </eval-link> |
| 72 </template> |
| 73 <template if="{{ path != null }}"> |
| 74 <template repeat="{{ element in path['elements'] }}"> |
| 75 <div class="memberItem"> |
| 76 <div class="memberName">[{{ element['index']}}]</div> |
| 77 <div class="memberValue"> |
| 78 <instance-ref ref="{{ element['value'] }}"></instance-ref> |
| 79 </div> |
| 80 </div> |
| 81 </template> |
| 82 <template if="{{ path['length'] > path['elements'].length }}"> |
| 83 showing {{ path['elements'].length }} of {{ path['length'] }} |
| 84 <eval-link |
| 85 callback="{{ retainingPath }}" |
| 86 label="[find more]" |
| 87 expr="{{ path['elements'].length * 2 }}"> |
| 88 </eval-link> |
| 89 </template> |
| 90 </template> |
59 </div> | 91 </div> |
60 </div> | 92 </div> |
61 <template if="{{ instance['type_class'] != null }}"> | 93 <template if="{{ instance['type_class'] != null }}"> |
62 <div class="memberItem"> | 94 <div class="memberItem"> |
63 <div class="memberName">type class</div> | 95 <div class="memberName">type class</div> |
64 <div class="memberValue"> | 96 <div class="memberValue"> |
65 <class-ref ref="{{ instance['type_class'] }}"> | 97 <class-ref ref="{{ instance['type_class'] }}"> |
66 </class-ref> | 98 </class-ref> |
67 </div> | 99 </div> |
68 </div> | 100 </div> |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 | 177 |
146 <div class="content"> | 178 <div class="content"> |
147 <eval-box callback="{{ eval }}"></eval-box> | 179 <eval-box callback="{{ eval }}"></eval-box> |
148 </div> | 180 </div> |
149 <br><br><br><br> | 181 <br><br><br><br> |
150 <br><br><br><br> | 182 <br><br><br><br> |
151 </template> | 183 </template> |
152 </template> | 184 </template> |
153 <script type="application/dart" src="instance_view.dart"></script> | 185 <script type="application/dart" src="instance_view.dart"></script> |
154 </polymer-element> | 186 </polymer-element> |
OLD | NEW |