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="code_ref.html"> | 3 <link rel="import" href="code_ref.html"> |
4 <link rel="import" href="function_ref.html"> | 4 <link rel="import" href="function_ref.html"> |
5 <link rel="import" href="library_ref.html"> | 5 <link rel="import" href="library_ref.html"> |
6 <link rel="import" href="observatory_element.html"> | 6 <link rel="import" href="observatory_element.html"> |
7 <link rel="import" href="nav_bar.html"> | 7 <link rel="import" href="nav_bar.html"> |
8 <link rel="import" href="script_inset.html"> | 8 <link rel="import" href="script_inset.html"> |
9 <link rel="import" href="script_ref.html"> | 9 <link rel="import" href="script_ref.html"> |
10 | 10 |
11 <polymer-element name="function-view" extends="observatory-element"> | 11 <polymer-element name="function-view" extends="observatory-element"> |
12 <template> | 12 <template> |
13 <link rel="stylesheet" href="css/shared.css"> | 13 <link rel="stylesheet" href="css/shared.css"> |
14 <nav-bar> | 14 <nav-bar> |
15 <top-nav-menu></top-nav-menu> | 15 <top-nav-menu></top-nav-menu> |
16 <isolate-nav-menu isolate="{{ function.isolate }}"></isolate-nav-menu> | 16 <isolate-nav-menu isolate="{{ function.isolate }}"></isolate-nav-menu> |
17 <template if="{{ function.owningClass != null }}"> | 17 <template if="{{ function.owningClass != null }}"> |
18 <!-- TODO(turnidge): Add library nav menu here. --> | 18 <!-- TODO(turnidge): Add library nav menu here. --> |
19 <class-nav-menu cls="{{ function.owningClass }}"></class-nav-menu> | 19 <class-nav-menu cls="{{ function.owningClass }}"></class-nav-menu> |
20 </template> | 20 </template> |
21 <template if="{{ function.owningLibrary != null }}"> | 21 <template if="{{ function.owningLibrary != null }}"> |
22 <library-nav-menu library="{{ function.owningLibrary }}"></library-nav-m
enu> | 22 <library-nav-menu library="{{ function.owningLibrary }}"></library-nav-m
enu> |
23 </template> | 23 </template> |
24 <nav-menu link="{{ function.link }}" anchor="{{ function.name }}" last="{{
true }}"></nav-menu> | 24 <nav-menu link="{{ makeLink('/inspect', function) }}" anchor="{{ function.
name }}" last="{{ true }}"></nav-menu> |
25 <nav-refresh callback="{{ refreshCoverage }}" label="Refresh Coverage"></n
av-refresh> | 25 <nav-refresh callback="{{ refreshCoverage }}" label="Refresh Coverage"></n
av-refresh> |
26 <nav-refresh callback="{{ refresh }}"></nav-refresh> | 26 <nav-refresh callback="{{ refresh }}"></nav-refresh> |
27 <nav-control></nav-control> | 27 <nav-control></nav-control> |
28 </nav-bar> | 28 </nav-bar> |
29 | 29 |
30 <div class="content"> | 30 <div class="content"> |
31 <h1>function {{ function.qualifiedName }}</h1> | 31 <h1>function {{ function.qualifiedName }}</h1> |
32 | 32 |
33 <div class="memberList"> | 33 <div class="memberList"> |
34 <div class="memberItem"> | 34 <div class="memberItem"> |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
115 <script-inset script="{{ function.script }}" | 115 <script-inset script="{{ function.script }}" |
116 startPos="{{ function.tokenPos }}" | 116 startPos="{{ function.tokenPos }}" |
117 endPos="{{ function.endTokenPos }}"> | 117 endPos="{{ function.endTokenPos }}"> |
118 </script-inset> | 118 </script-inset> |
119 | 119 |
120 <br> | 120 <br> |
121 </template> | 121 </template> |
122 </polymer-element> | 122 </polymer-element> |
123 | 123 |
124 <script type="application/dart" src="function_view.dart"></script> | 124 <script type="application/dart" src="function_view.dart"></script> |
OLD | NEW |