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

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

Issue 2244433003: Converted Observatory refs elements (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: All element tested Created 4 years, 4 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 a28d0d664dfdd2a0653c1c657655b21bde8be587..54e563729e9a20add0be3254a90e5e5a224b548a 100644
--- a/runtime/observatory/lib/src/elements/instance_view.html
+++ b/runtime/observatory/lib/src/elements/instance_view.html
@@ -2,11 +2,8 @@
<link rel="import" href="error_view.html">
<link rel="import" href="eval_box.html">
<link rel="import" href="eval_link.html">
-<link rel="import" href="field_ref.html">
<link rel="import" href="inbound_reference.html">
-<link rel="import" href="instance_ref.html">
<link rel="import" href="object_common.html">
-<link rel="import" href="context_ref.html">
<polymer-element name="instance-view">
<template>
@@ -195,10 +192,10 @@
<template repeat="{{ field in instance.fields }}">
<div class="memberItem">
<div class="memberName">
- <field-ref ref="{{ field['decl'] }}"></field-ref>
+ <field-ref ref="{{ field.decl }}"></field-ref>
</div>
<div class="memberValue">
- <any-service-ref ref="{{ field['value'] }}"></any-service-ref>
+ <any-service-ref ref="{{ field.value }}"></any-service-ref>
</div>
</div>
</template>
@@ -238,10 +235,10 @@
<template repeat="{{ association in instance.associations }}">
<div class="memberItem">
<div class="memberValue">
- [<any-service-ref ref="{{ association['key'] }}"></any-service-ref>]
+ [<any-service-ref ref="{{ association.key }}"></any-service-ref>]
</div>
<div class="memberValue">
- <any-service-ref ref="{{ association['value'] }}"></any-service-ref>
+ <any-service-ref ref="{{ association.value }}"></any-service-ref>
</div>
</div>
</template>

Powered by Google App Engine
This is Rietveld 408576698