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

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

Issue 322303002: Version 1.5.0-dev.4.6 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/
Patch Set: Created 6 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: dart/runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/instance_ref.html
===================================================================
--- dart/runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/instance_ref.html (revision 37220)
+++ dart/runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/instance_ref.html (working copy)
@@ -34,16 +34,16 @@
isBool(ref.serviceType) ||
isInt(ref.serviceType)) ||
isDouble(ref.serviceType)) }}">
- <a href="{{ url }}">{{ ref['valueAsString'] }}</a>
+ <a on-click="{{ goto }}" href="{{ url }}">{{ ref['valueAsString'] }}</a>
</template>
<template if="{{ (isType(ref.serviceType)) }}">
- <a href="{{ url }}">{{ ref['user_name'] }}</a>
+ <a on-click="{{ goto }}" href="{{ url }}">{{ ref['user_name'] }}</a>
</template>
<template if="{{ isInstance(ref.serviceType) &&
ref['closureFunc'] != null}}">
- <a href="{{ url }}">
+ <a on-click="{{ goto }}" href="{{ url }}">
<!-- TODO(turnidge): Switch this to fully-qualified function -->
{{ ref['closureFunc']['user_name'] }}
</a>
@@ -51,7 +51,7 @@
<template if="{{ isInstance(ref.serviceType) &&
ref['closureFunc'] == null}}">
- <a href="{{ url }}"><em>{{ ref['class']['user_name'] }}</em></a>
+ <a on-click="{{ goto }}" href="{{ url }}"><em>{{ ref['class'].name }}</em></a>
<curly-block callback="{{ expander() }}">
<div class="memberList">
<template repeat="{{ field in ref['fields'] }}">
@@ -69,7 +69,7 @@
</template>
<template if="{{ isList(ref.serviceType) }}">
- <a href="{{ url }}"><em>{{ ref['class']['user_name'] }}</em> ({{ ref['length']}})</a>
+ <a on-click="{{ goto }}" href="{{ url }}"><em>{{ ref['class'].name }}</em> ({{ ref['length']}})</a>
<curly-block callback="{{ expander() }}">
<div class="memberList">
<template repeat="{{ element in ref['elements'] }}">

Powered by Google App Engine
This is Rietveld 408576698