| OLD | NEW |
| 1 <head> | 1 <head> |
| 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 </head> | 10 </head> |
| 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['owner'].serviceType == 'Class' }}"> | 17 <template if="{{ function['owner'].serviceType == 'Class' }}"> |
| 18 <!-- TODO(turnidge): Add library nav menu here. --> | 18 <!-- TODO(turnidge): Add library nav menu here. --> |
| 19 <class-nav-menu cls="{{ function['owner'] }}"></class-nav-menu> | 19 <class-nav-menu cls="{{ function['owner'] }}"></class-nav-menu> |
| 20 </template> | 20 </template> |
| 21 <template if="{{ function['owner'].serviceType == 'Library' }}"> | 21 <template if="{{ function['owner'].serviceType == 'Library' }}"> |
| 22 <library-nav-menu library="{{ function['owner'] }}"></library-nav-menu> | 22 <library-nav-menu library="{{ function['owner'] }}"></library-nav-menu> |
| 23 </template> | 23 </template> |
| 24 <nav-menu link="{{ function.hashLink }}" anchor="{{ function.name }}" last
="{{ true }}"></nav-menu> | 24 <nav-menu link="{{ function.link }}" anchor="{{ function.name }}" last="{{
true }}"></nav-menu> |
| 25 <nav-refresh callback="{{ refresh }}"></nav-refresh> | 25 <nav-refresh callback="{{ refresh }}"></nav-refresh> |
| 26 <nav-control></nav-control> |
| 26 </nav-bar> | 27 </nav-bar> |
| 27 | 28 |
| 28 <div class="content"> | 29 <div class="content"> |
| 29 <h1>function {{ qualifiedName }}</h1> | 30 <h1>function {{ qualifiedName }}</h1> |
| 30 | 31 |
| 31 <div class="memberList"> | 32 <div class="memberList"> |
| 32 <div class="memberItem"> | 33 <div class="memberItem"> |
| 33 <div class="memberName">kind</div> | 34 <div class="memberName">kind</div> |
| 34 <div class="memberValue"> | 35 <div class="memberValue"> |
| 35 <template if="{{ function['is_static'] }}">static</template> | 36 <template if="{{ function['is_static'] }}">static</template> |
| (...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 </div> | 111 </div> |
| 111 | 112 |
| 112 <hr> | 113 <hr> |
| 113 <script-inset script="{{ function['script'] }}" pos="{{ function['tokenPos']
}}" endPos="{{ function['endTokenPos'] }}"> | 114 <script-inset script="{{ function['script'] }}" pos="{{ function['tokenPos']
}}" endPos="{{ function['endTokenPos'] }}"> |
| 114 </script-inset> | 115 </script-inset> |
| 115 | 116 |
| 116 <br> | 117 <br> |
| 117 </template> | 118 </template> |
| 118 <script type="application/dart" src="function_view.dart"></script> | 119 <script type="application/dart" src="function_view.dart"></script> |
| 119 </polymer-element> | 120 </polymer-element> |
| OLD | NEW |