| <link rel="import" href="../../../../packages/polymer/polymer.html"> |
| <link rel="import" href="observatory_element.html"> |
| <link rel="import" href="service_ref.html"> |
| |
| <polymer-element name="script-ref" extends="service-ref"> |
| <template> |
| <link rel="stylesheet" href="css/shared.css"> |
| <a on-click="{{ goto }}" title="{{ hoverText }}" _href="{{ url }}">{{ name }}</a> |
| </template> |
| </polymer-element> |
| |
| <polymer-element name="source-link"> |
| <template> |
| <template if="{{ location != null }}"> |
| <script-ref ref="{{ location.script }}" |
| pos="{{ location.tokenPos }}"></script-ref> |
| </template> |
| </template> |
| </polymer-element> |
| |
| |
| <script type="application/dart" src="script_ref.dart"></script> |