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="service_ref.html"> | 2 <link rel="import" href="service_ref.html"> |
3 | 3 |
4 <polymer-element name="code-ref" extends="service-ref"> | 4 <polymer-element name="code-ref" extends="service-ref"> |
5 <template> | 5 <template> |
6 <link rel="stylesheet" href="css/shared.css"> | 6 <link rel="stylesheet" href="css/shared.css"> |
7 <template if="{{ code.isDartCode }}"> | 7 <template if="{{ code.isDartCode }}"> |
8 <template if="{{ code.isOptimized }}"> | 8 <template if="{{ code.isOptimized }}"> |
9 <a on-click="{{ goto }}" _href="{{ url }}">*{{ name }}</a> | 9 <a on-click="{{ goto }}" _href="{{ url }}">*{{ name }}</a> |
10 </template> | 10 </template> |
11 <template if="{{ !code.isOptimized }}"> | 11 <template if="{{ !code.isOptimized }}"> |
12 <a on-click="{{ goto }}" _href="{{ url }}">{{ name }}</a> | 12 <a on-click="{{ goto }}" _href="{{ url }}">{{ name }}</a> |
13 </template> | 13 </template> |
14 </template> | 14 </template> |
15 <template if="{{ !code.isDartCode }}"> | 15 <template if="{{ !code.isDartCode }}"> |
16 <span>{{ name }}</span> | 16 <span>{{ name }}</span> |
17 </template> | 17 </template> |
18 </template> | 18 </template> |
19 </polymer-element> | 19 </polymer-element> |
20 | 20 |
21 <script type="application/dart" src="code_ref.dart"></script> | 21 <script type="application/dart" src="code_ref.dart"></script> |
OLD | NEW |