Chromium Code Reviews| Index: runtime/bin/vmservice/client/lib/src/elements/function_ref.html |
| diff --git a/runtime/bin/vmservice/client/lib/src/elements/function_ref.html b/runtime/bin/vmservice/client/lib/src/elements/function_ref.html |
| index a6e4c0997de23e09ae419d308b662dc9e8f1333e..72cb5da674df2a96941e3ed25970e00396eb180e 100644 |
| --- a/runtime/bin/vmservice/client/lib/src/elements/function_ref.html |
| +++ b/runtime/bin/vmservice/client/lib/src/elements/function_ref.html |
| @@ -1,9 +1,11 @@ |
| <head> |
| +<link rel="import" href="class_ref.html"> |
| <link rel="import" href="service_ref.html"> |
| </head> |
| <polymer-element name="function-ref" extends="service-ref"> |
| -<template> |
| - <a title="{{ hoverText }}" href="{{ url }}">{{ name }}</a> |
| -</template> |
| + <!-- TODO(turnidge): Is there a way to add newlines to this without |
| + messing up the output? --> |
| + <template><template if="{{ qualified && ref['parent'] == null && ref['class']['name'] != '::' }}"><class-ref ref="{{ ref['class'] }}"></class-ref>.</template><template if="{{ qualified && ref['parent'] != null }}"><function-ref ref="{{ ref['parent'] }}" qualified="{{ true }}"></function-ref>.</template><a href="{{ url }}">{{ name }}</a></template> |
|
Cutch
2014/03/13 18:16:40
Could you move this code into methods on FunctionR
|
| + |
| <script type="application/dart" src="function_ref.dart"></script> |
| -</polymer-element> |
| +</polymer-element> |