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

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

Issue 1300853006: Functions are objects too! (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: update tests Created 5 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/inbound_reference.html
diff --git a/runtime/observatory/lib/src/elements/inbound_reference.html b/runtime/observatory/lib/src/elements/inbound_reference.html
index d7b9e5dac077d9db1544bb3e56298afc2039d4c0..8796b438d65cddad51c937632990e8eda90c6c89 100644
--- a/runtime/observatory/lib/src/elements/inbound_reference.html
+++ b/runtime/observatory/lib/src/elements/inbound_reference.html
@@ -8,11 +8,16 @@
<template>
<link rel="stylesheet" href="css/shared.css">
<div>
- from
- <template if="{{ slotIsArrayIndex }}">[{{ slot }}] of</template>
- <template if="{{ slotIsField }}"><field-ref ref="{{ slot }}"></field-ref> of</template>
+ <template if="{{ ref['parentField'] != null }}">
+ from <any-service-ref ref="{{ element['parentField'] }}"></any-service-ref>
+ </template>
+ <template if="{{ ref['parentListIndex'] != null }}">
+ from [{{ ref['parentListIndex'] }}] of
+ </template>
+ <template if="{{ ref['_parentWordOffset'] != null }}">
+ from word[{{ ref['_parentWordOffset'] }}] of
+ </template>
<any-service-ref ref="{{ source }}"></any-service-ref>
-
<curly-block callback="{{ expander() }}">
<div class="memberList">
<div class="memberItem">
« no previous file with comments | « runtime/observatory/lib/src/elements/inbound_reference.dart ('k') | runtime/observatory/lib/src/elements/library_view.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698