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