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

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

Issue 376293003: Observatory: Promote function to ServiceObject (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: add deployed/ Created 6 years, 5 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/function_ref.html
diff --git a/runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/function_ref.html b/runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/function_ref.html
index 16a281f75b399cdc6ea02373d364d2b0488dcfbb..f5abd33ac0b13491aa5f1a338ec27fe1efca9616 100644
--- a/runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/function_ref.html
+++ b/runtime/bin/vmservice/client/deployed/web/packages/observatory/src/elements/function_ref.html
@@ -4,14 +4,14 @@
<polymer-element name="function-ref" extends="service-ref">
<template><link rel="stylesheet" href="css/shared.css" /><!-- These comments are here to allow newlines.
- --><template if="{{ isDart }}"><!--
- --><template if="{{ qualified && !hasParent && hasClass }}"><!--
- --><class-ref ref="{{ ref['owner'] }}"></class-ref>.</template><!--
- --><template if="{{ qualified && hasParent }}"><!--
- --><function-ref ref="{{ ref['parent'] }}" qualified="{{ true }}">
+ --><template if="{{ ref.isDart }}"><!--
+ --><template if="{{ qualified && ref.parent == null && ref.owningClass != null }}"><!--
+ --><class-ref ref="{{ ref.owningClass] }}"></class-ref>.</template><!--
+ --><template if="{{ qualified && ref.parent != null }}"><!--
+ --><function-ref ref="{{ ref.parent }}" qualified="{{ true }}">
</function-ref>.<!--
--></template><a on-click="{{ goto }}" href="{{ url }}">{{ name }}</a><!--
- --></template><template if="{{ !isDart }}"><span> {{ name }}</span></template></template>
+ --></template><template if="{{ !ref.isDart }}"><span> {{ name }}</span></template></template>
</polymer-element>
<script type="application/dart" src="function_ref.dart"></script>

Powered by Google App Engine
This is Rietveld 408576698