| OLD | NEW |
| 1 <head> | 1 <head> |
| 2 <link rel="import" href="class_view.html"> | 2 <link rel="import" href="class_view.html"> |
| 3 <link rel="import" href="code_view.html"> | 3 <link rel="import" href="code_view.html"> |
| 4 <link rel="import" href="error_view.html"> | 4 <link rel="import" href="error_view.html"> |
| 5 <link rel="import" href="field_view.html"> | 5 <link rel="import" href="field_view.html"> |
| 6 <link rel="import" href="function_view.html"> | 6 <link rel="import" href="function_view.html"> |
| 7 <link rel="import" href="instance_view.html"> |
| 7 <link rel="import" href="isolate_list.html"> | 8 <link rel="import" href="isolate_list.html"> |
| 8 <link rel="import" href="library_view.html"> | 9 <link rel="import" href="library_view.html"> |
| 9 <link rel="import" href="observatory_element.html"> | 10 <link rel="import" href="observatory_element.html"> |
| 10 <link rel="import" href="script_view.html"> | 11 <link rel="import" href="script_view.html"> |
| 11 <link rel="import" href="source_view.html"> | 12 <link rel="import" href="source_view.html"> |
| 12 <link rel="import" href="stack_trace.html"> | 13 <link rel="import" href="stack_trace.html"> |
| 13 </head> | 14 </head> |
| 14 <polymer-element name="message-viewer" extends="observatory-element"> | 15 <polymer-element name="message-viewer" extends="observatory-element"> |
| 15 <!-- | 16 <!-- |
| 16 This is a big switch statement which instantiates the custom element | 17 This is a big switch statement which instantiates the custom element |
| (...skipping 14 matching lines...) Expand all Loading... |
| 31 </template> | 32 </template> |
| 32 <template if="{{ messageType == 'Library' }}"> | 33 <template if="{{ messageType == 'Library' }}"> |
| 33 <library-view app="{{ app }}" library="{{ message }}"></library-view> | 34 <library-view app="{{ app }}" library="{{ message }}"></library-view> |
| 34 </template> | 35 </template> |
| 35 <template if="{{ messageType == 'Class' }}"> | 36 <template if="{{ messageType == 'Class' }}"> |
| 36 <class-view app="{{ app }}" cls="{{ message }}"></class-view> | 37 <class-view app="{{ app }}" cls="{{ message }}"></class-view> |
| 37 </template> | 38 </template> |
| 38 <template if="{{ messageType == 'Field' }}"> | 39 <template if="{{ messageType == 'Field' }}"> |
| 39 <field-view app="{{ app }}" field="{{ message }}"></field-view> | 40 <field-view app="{{ app }}" field="{{ message }}"></field-view> |
| 40 </template> | 41 </template> |
| 42 <template if="{{ messageType == 'Instance' }}"> |
| 43 <instance-view app="{{ app }}" instance="{{ message }}"></instance-view> |
| 44 </template> |
| 45 <template if="{{ messageType == 'Array' }}"> |
| 46 <instance-view app="{{ app }}" instance="{{ message }}"></instance-view> |
| 47 </template> |
| 48 <template if="{{ messageType == 'GrowableObjectArray' }}"> |
| 49 <instance-view app="{{ app }}" instance="{{ message }}"></instance-view> |
| 50 </template> |
| 51 <template if="{{ messageType == 'String' }}"> |
| 52 <instance-view app="{{ app }}" instance="{{ message }}"></instance-view> |
| 53 </template> |
| 54 <template if="{{ messageType == 'Bool' }}"> |
| 55 <instance-view app="{{ app }}" instance="{{ message }}"></instance-view> |
| 56 </template> |
| 57 <template if="{{ messageType == 'Smi' }}"> |
| 58 <instance-view app="{{ app }}" instance="{{ message }}"></instance-view> |
| 59 </template> |
| 41 <template if="{{ messageType == 'Function' }}"> | 60 <template if="{{ messageType == 'Function' }}"> |
| 42 <function-view app="{{ app }}" function="{{ message }}"></function-view> | 61 <function-view app="{{ app }}" function="{{ message }}"></function-view> |
| 43 </template> | 62 </template> |
| 44 <template if="{{ messageType == 'Code' }}"> | 63 <template if="{{ messageType == 'Code' }}"> |
| 45 <code-view app="{{ app }}" code="{{ message }}"></code-view> | 64 <code-view app="{{ app }}" code="{{ message }}"></code-view> |
| 46 </template> | 65 </template> |
| 47 <template if="{{ messageType == 'Script' }}"> | 66 <template if="{{ messageType == 'Script' }}"> |
| 48 <script-view app="{{ app }}" script="{{ message }}"></script-view> | 67 <script-view app="{{ app }}" script="{{ message }}"></script-view> |
| 49 </template> | 68 </template> |
| 50 <!-- Add new views and message types in the future here. --> | 69 <!-- Add new views and message types in the future here. --> |
| 51 </template> | 70 </template> |
| 52 <script type="application/dart" src="message_viewer.dart"></script> | 71 <script type="application/dart" src="message_viewer.dart"></script> |
| 53 </polymer-element> | 72 </polymer-element> |
| OLD | NEW |