| OLD | NEW |
| (Empty) |
| 1 <head> | |
| 2 <link rel="import" href="disassembly_entry.html"> | |
| 3 <link rel="import" href="function_ref.html"> | |
| 4 <link rel="import" href="nav_bar.html"> | |
| 5 <link rel="import" href="observatory_element.html"> | |
| 6 </head> | |
| 7 <polymer-element name="code-view" extends="observatory-element"> | |
| 8 <template> | |
| 9 <nav-bar> | |
| 10 <top-nav-menu></top-nav-menu> | |
| 11 <isolate-nav-menu app="{{ app }}" isolate="{{ app.locationManager.currentI
solate() }}"> | |
| 12 </isolate-nav-menu> | |
| 13 <nav-menu link="." anchor="{{ code.functionRef['user_name'] }}" last="{{ t
rue }}"></nav-menu> | |
| 14 <!-- TODO(turnidge): Implement code refresh --> | |
| 15 </nav-bar> | |
| 16 | |
| 17 <div class="row"> | |
| 18 <div class="col-md-8 col-md-offset-2"> | |
| 19 <div class="{{ cssPanelClass }}"> | |
| 20 <div class="panel-heading"> | |
| 21 <function-ref app="{{ app }}" ref="{{ code.functionRef }}"></function-
ref> | |
| 22 </div> | |
| 23 <div class="panel-body"> | |
| 24 <div class="row"> | |
| 25 <div class="col-md-2"><strong>Samples</strong></div> | |
| 26 <div class="col-md-2"><strong>Address</strong></div> | |
| 27 <div><strong>Instruction</strong></div> | |
| 28 </div> | |
| 29 <template repeat="{{ instruction in code.instructions }}"> | |
| 30 <disassembly-entry instruction="{{ instruction }}"> | |
| 31 </disassembly-entry> | |
| 32 </template> | |
| 33 </div> | |
| 34 </div> | |
| 35 </div> | |
| 36 </div> | |
| 37 </template> | |
| 38 <script type="application/dart" src="code_view.dart"></script> | |
| 39 </polymer-element> | |
| OLD | NEW |