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 <library-nav-menu library="{{ function.library }}"></library-nav-menu> | 17 <library-nav-menu library="{{ function.library }}"></library-nav-menu> |
18 <template if="{{ function.dartOwner is ServiceClass }}"> | 18 <template if="{{ function.dartOwner is ServiceClass }}"> |
19 <class-nav-menu cls="{{ function.dartOwner }}"></class-nav-menu> | 19 <class-nav-menu cls="{{ function.dartOwner }}"></class-nav-menu> |
20 </template> | 20 </template> |
21 <nav-menu link="{{ makeLink('/inspect', function) }}" anchor="{{ function.
name }}" last="{{ true }}"></nav-menu> | 21 <nav-menu link="{{ makeLink('/inspect', function) }}" anchor="{{ function.
name }}" last="{{ true }}"></nav-menu> |
22 <nav-refresh callback="{{ refreshCoverage }}" label="Refresh Coverage"></n
av-refresh> | 22 <nav-refresh callback="{{ refreshCoverage }}" label="Refresh Coverage"></n
av-refresh> |
23 <nav-refresh callback="{{ refresh }}"></nav-refresh> | 23 <nav-refresh callback="{{ refresh }}"></nav-refresh> |
24 <nav-control></nav-control> | |
25 </nav-bar> | 24 </nav-bar> |
26 | 25 |
27 <div class="content"> | 26 <div class="content"> |
28 <h1>function {{ function.qualifiedName }}</h1> | 27 <h1>function {{ function.qualifiedName }}</h1> |
29 | 28 |
30 <div class="memberList"> | 29 <div class="memberList"> |
31 <div class="memberItem"> | 30 <div class="memberItem"> |
32 <div class="memberName">kind</div> | 31 <div class="memberName">kind</div> |
33 <div class="memberValue"> | 32 <div class="memberValue"> |
34 <template if="{{ function.isStatic }}">static</template> | 33 <template if="{{ function.isStatic }}">static</template> |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 <script-inset script="{{ function.script }}" | 98 <script-inset script="{{ function.script }}" |
100 startPos="{{ function.tokenPos }}" | 99 startPos="{{ function.tokenPos }}" |
101 endPos="{{ function.endTokenPos }}"> | 100 endPos="{{ function.endTokenPos }}"> |
102 </script-inset> | 101 </script-inset> |
103 | 102 |
104 <br> | 103 <br> |
105 </template> | 104 </template> |
106 </polymer-element> | 105 </polymer-element> |
107 | 106 |
108 <script type="application/dart" src="function_view.dart"></script> | 107 <script type="application/dart" src="function_view.dart"></script> |
OLD | NEW |