| Index: runtime/bin/vmservice/client/lib/src/elements/instance_ref.html
|
| diff --git a/runtime/bin/vmservice/client/lib/src/elements/instance_ref.html b/runtime/bin/vmservice/client/lib/src/elements/instance_ref.html
|
| index a2ed2c43a26b377fda8207ef03830fda64aaa3a2..98e62f135ad6bf371328d14665f5d5af478e7257 100644
|
| --- a/runtime/bin/vmservice/client/lib/src/elements/instance_ref.html
|
| +++ b/runtime/bin/vmservice/client/lib/src/elements/instance_ref.html
|
| @@ -12,48 +12,48 @@
|
| }
|
| </style>
|
| <div>
|
| - <template if="{{ isUnexpectedRef(ref['type']) }}">
|
| + <template if="{{ isUnexpected(ref.serviceType) }}">
|
| unexpected reference type <{{ ref['type'] }}>
|
| </template>
|
|
|
| - <template if="{{ isNullRef(ref['type']) }}">
|
| - <div title="{{ hoverText }}">{{ name }}</div>
|
| + <template if="{{ isNull(ref.serviceType) }}">
|
| + <div title="{{ hoverText }}">{{ ref['preview'] }}</div>
|
| </template>
|
|
|
| - <template if="{{ (isStringRef(ref['type']) ||
|
| - isBoolRef(ref['type']) ||
|
| - isIntRef(ref['type'])) }}">
|
| - <a href="{{ url }}">{{ name }}</a>
|
| + <template if="{{ (isString(ref.serviceType) ||
|
| + isBool(ref.serviceType) ||
|
| + isInt(ref.serviceType)) }}">
|
| + <a href="{{ url }}">{{ ref['preview'] }}</a>
|
| </template>
|
|
|
| - <template if="{{ isClosureRef(ref['type']) }}">
|
| + <template if="{{ isClosure(ref.serviceType) }}">
|
| <a href="{{ url }}">
|
| {{ ref['closureFunc']['user_name'] }}
|
| </a>
|
| </template>
|
|
|
| - <template if="{{ isInstanceRef(ref['type']) }}">
|
| + <template if="{{ isInstance(ref.serviceType) }}">
|
| <a href="{{ url }}"><em>{{ ref['class']['user_name'] }}</em></a>
|
| <curly-block callback="{{ expander() }}">
|
| <table>
|
| <tr template repeat="{{ field in ref['fields'] }}">
|
| <td class="member">{{ field['decl']['user_name'] }}</td>
|
| <td class="member">
|
| - <instance-ref isolate="{{ isolate }}" ref="{{ field['value'] }}"></instance-ref>
|
| + <instance-ref ref="{{ field['value'] }}"></instance-ref>
|
| </td>
|
| </tr>
|
| </table>
|
| </curly-block>
|
| </template>
|
|
|
| - <template if="{{ isListRef(ref['type']) }}">
|
| + <template if="{{ isList(ref.serviceType) }}">
|
| <a href="{{ url }}"><em>{{ ref['class']['user_name'] }}</em> ({{ ref['length']}})</a>
|
| <curly-block callback="{{ expander() }}">
|
| <table>
|
| <tr template repeat="{{ element in ref['elements'] }}">
|
| <td class="member">[{{ element['index']}}]</td>
|
| <td class="member">
|
| - <instance-ref isolate="{{ isolate }}" ref="{{ element['value'] }}"></instance-ref>
|
| + <instance-ref ref="{{ element['value'] }}"></instance-ref>
|
| </td>
|
| </tr>
|
| </table>
|
|
|