OLD | NEW |
1 <link rel="import" href="../../../../packages/polymer/polymer.html"> | 1 <link rel="import" href="../../../../packages/polymer/polymer.html"> |
2 <link rel="import" href="class_ref.html"> | 2 <link rel="import" href="class_ref.html"> |
3 <link rel="import" href="service_ref.html"> | 3 <link rel="import" href="service_ref.html"> |
4 | 4 |
5 <polymer-element name="function-ref" extends="service-ref"> | 5 <polymer-element name="function-ref" extends="service-ref"> |
6 <template><link rel="stylesheet" href="css/shared.css" /><!-- These comments a
re here to allow newlines. | 6 <template><link rel="stylesheet" href="css/shared.css"></template> |
7 --><template if="{{ ref.isDart }}"><!-- | |
8 --><template if="{{ qualified && ref.parent == null && ref.owningClass !=
null }}"><!-- | |
9 --><class-ref ref="{{ ref.owningClass] }}"></class-ref>.</template><!-- | |
10 --><template if="{{ qualified && ref.parent != null }}"><!-- | |
11 --><function-ref ref="{{ ref.parent }}" qualified="{{ true }}"> | |
12 </function-ref>.<!-- | |
13 --></template><a on-click="{{ goto }}" _href="{{ url }}">{{ name }}</a><!-- | |
14 --></template><template if="{{ !ref.isDart }}"><span> {{ name }}</span></templ
ate></template> | |
15 </polymer-element> | 7 </polymer-element> |
16 | 8 |
17 <script type="application/dart" src="function_ref.dart"></script> | 9 <script type="application/dart" src="function_ref.dart"></script> |
OLD | NEW |