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

Unified Diff: runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/instance_ref.html

Issue 215213003: Rework the <field-view> page. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 9 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/bin/vmservice/client/deployed/web/packages/observatory/src/elements/instance_ref.html
diff --git a/runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/instance_ref.html b/runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/instance_ref.html
index 49c13966d9059efcef40e1c79fa2178d0ae3e8df..26b5d54ff480149338c6aeab5e676d9693b431ce 100644
--- a/runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/instance_ref.html
+++ b/runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/instance_ref.html
@@ -43,14 +43,16 @@
<a href="{{ url }}">{{ ref['user_name'] }}</a>
</template>
- <template if="{{ isClosure(ref.serviceType) }}">
+ <template if="{{ isInstance(ref.serviceType) &&
+ ref['closureFunc'] != null}}">
<a href="{{ url }}">
<!-- TODO(turnidge): Switch this to fully-qualified function -->
{{ ref['closureFunc']['user_name'] }}
</a>
</template>
- <template if="{{ isInstance(ref.serviceType) }}">
+ <template if="{{ isInstance(ref.serviceType) &&
+ ref['closureFunc'] == null}}">
<a href="{{ url }}"><em>{{ ref['class']['user_name'] }}</em></a>
<curly-block callback="{{ expander() }}">
<div class="memberList">

Powered by Google App Engine
This is Rietveld 408576698