Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: runtime/observatory/lib/src/elements/instance_view.html

Issue 1152753005: Service cleanups... (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Update docs. Tweak TypeRef and BoundedType. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/observatory/lib/src/elements/instance_view.html
diff --git a/runtime/observatory/lib/src/elements/instance_view.html b/runtime/observatory/lib/src/elements/instance_view.html
index e1bb8302d42842cddd3438e20a3666a5369ccd9a..fb393774c3ea50634305fb32037a01f8b5bc3aa6 100644
--- a/runtime/observatory/lib/src/elements/instance_view.html
+++ b/runtime/observatory/lib/src/elements/instance_view.html
@@ -168,11 +168,12 @@
elements ({{ instance.elements.length }})
<curly-block expand="{{ instance.elements.length <= 100 }}">
<div class="memberList">
- <template repeat="{{ element in instance.elements }}">
+ <template repeat="{{ index in instance.elements.asMap().keys }}">
<div class="memberItem">
- <div class="memberName">[{{ element['index']}}]</div>
+ <div class="memberName">[{{ index }}]</div>
<div class="memberValue">
- <any-service-ref ref="{{ element['value'] }}"></any-service-ref>
+ <any-service-ref ref="{{ instance.elements[index] }}">
+ </any-service-ref>
</div>
</div>
</template>
« no previous file with comments | « runtime/observatory/lib/src/elements/instance_ref.html ('k') | runtime/observatory/lib/src/service/object.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698