| OLD | NEW |
| 1 <head> | 1 <head> |
| 2 <link rel="import" href="breakpoint_list.html"> | 2 <link rel="import" href="breakpoint_list.html"> |
| 3 <link rel="import" href="class_view.html"> | 3 <link rel="import" href="class_view.html"> |
| 4 <link rel="import" href="code_view.html"> | 4 <link rel="import" href="code_view.html"> |
| 5 <link rel="import" href="error_view.html"> | 5 <link rel="import" href="error_view.html"> |
| 6 <link rel="import" href="field_view.html"> | 6 <link rel="import" href="field_view.html"> |
| 7 <link rel="import" href="function_view.html"> | 7 <link rel="import" href="function_view.html"> |
| 8 <link rel="import" href="instance_view.html"> | 8 <link rel="import" href="instance_view.html"> |
| 9 <link rel="import" href="isolate_list.html"> | 9 <link rel="import" href="isolate_list.html"> |
| 10 <link rel="import" href="json_view.html"> | 10 <link rel="import" href="json_view.html"> |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 <template if="{{ messageType == 'IsolateList' }}"> | 24 <template if="{{ messageType == 'IsolateList' }}"> |
| 25 <isolate-list app="{{ app }}"></isolate-list> | 25 <isolate-list app="{{ app }}"></isolate-list> |
| 26 </template> | 26 </template> |
| 27 <!-- If the message type is a StackTrace --> | 27 <!-- If the message type is a StackTrace --> |
| 28 <template if="{{ messageType == 'StackTrace' }}"> | 28 <template if="{{ messageType == 'StackTrace' }}"> |
| 29 <stack-trace app="{{ app }}" trace="{{ message }}"></stack-trace> | 29 <stack-trace app="{{ app }}" trace="{{ message }}"></stack-trace> |
| 30 </template> | 30 </template> |
| 31 <template if="{{ messageType == 'BreakpointList' }}"> | 31 <template if="{{ messageType == 'BreakpointList' }}"> |
| 32 <breakpoint-list app="{{ app }}" msg="{{ message }}"></breakpoint-list> | 32 <breakpoint-list app="{{ app }}" msg="{{ message }}"></breakpoint-list> |
| 33 </template> | 33 </template> |
| 34 <!-- If the message type is a RequestError --> | 34 <template if="{{ messageType == 'Error' }}"> |
| 35 <template if="{{ messageType == 'RequestError' }}"> | 35 <error-view app="{{ app }}" error="{{ message }}"></error-view> |
| 36 <error-view app="{{ app }}" error="{{ message['error'] }}"></error-view> | |
| 37 </template> | 36 </template> |
| 38 <template if="{{ messageType == 'Library' }}"> | 37 <template if="{{ messageType == 'Library' }}"> |
| 39 <library-view app="{{ app }}" library="{{ message }}"></library-view> | 38 <library-view app="{{ app }}" library="{{ message }}"></library-view> |
| 40 </template> | 39 </template> |
| 41 <template if="{{ messageType == 'Class' }}"> | 40 <template if="{{ messageType == 'Class' }}"> |
| 42 <class-view app="{{ app }}" cls="{{ message }}"></class-view> | 41 <class-view app="{{ app }}" cls="{{ message }}"></class-view> |
| 43 </template> | 42 </template> |
| 44 <template if="{{ messageType == 'Field' }}"> | 43 <template if="{{ messageType == 'Field' }}"> |
| 45 <field-view app="{{ app }}" field="{{ message }}"></field-view> | 44 <field-view app="{{ app }}" field="{{ message }}"></field-view> |
| 46 </template> | 45 </template> |
| (...skipping 12 matching lines...) Expand all Loading... |
| 59 <template if="{{ messageType == 'Bool' }}"> | 58 <template if="{{ messageType == 'Bool' }}"> |
| 60 <instance-view app="{{ app }}" instance="{{ message }}"></instance-view> | 59 <instance-view app="{{ app }}" instance="{{ message }}"></instance-view> |
| 61 </template> | 60 </template> |
| 62 <template if="{{ messageType == 'Smi' }}"> | 61 <template if="{{ messageType == 'Smi' }}"> |
| 63 <instance-view app="{{ app }}" instance="{{ message }}"></instance-view> | 62 <instance-view app="{{ app }}" instance="{{ message }}"></instance-view> |
| 64 </template> | 63 </template> |
| 65 <template if="{{ messageType == 'Function' }}"> | 64 <template if="{{ messageType == 'Function' }}"> |
| 66 <function-view app="{{ app }}" function="{{ message }}"></function-view> | 65 <function-view app="{{ app }}" function="{{ message }}"></function-view> |
| 67 </template> | 66 </template> |
| 68 <template if="{{ messageType == 'Code' }}"> | 67 <template if="{{ messageType == 'Code' }}"> |
| 69 <code-view app="{{ app }}" code="{{ message }}"></code-view> | 68 <code-view app="{{ app }}" code="{{ message['code'] }}"></code-view> |
| 70 </template> | 69 </template> |
| 71 <template if="{{ messageType == 'Script' }}"> | 70 <template if="{{ messageType == 'Script' }}"> |
| 72 <script-view app="{{ app }}" script="{{ message }}"></script-view> | 71 <script-view app="{{ app }}" script="{{ message }}"></script-view> |
| 73 </template> | 72 </template> |
| 74 <template if="{{ messageType == 'CPU' }}"> | 73 <template if="{{ messageType == 'CPU' }}"> |
| 75 <json-view json="{{ message }}"></json-view> | 74 <json-view json="{{ message }}"></json-view> |
| 76 </template> | 75 </template> |
| 77 <!-- Add new views and message types in the future here. --> | 76 <!-- Add new views and message types in the future here. --> |
| 78 </template> | 77 </template> |
| 79 <script type="application/dart" src="message_viewer.dart"></script> | 78 <script type="application/dart" src="message_viewer.dart"></script> |
| 80 </polymer-element> | 79 </polymer-element> |
| OLD | NEW |