| OLD | NEW |
| 1 <head> | 1 <head> |
| 2 <link rel="import" href="observatory_element.html"> | 2 <link rel="import" href="observatory_element.html"> |
| 3 </head> | 3 </head> |
| 4 <polymer-element name="json-view" extends="observatory-element"> | 4 <polymer-element name="json-view" extends="observatory-element"> |
| 5 <template> | 5 <template> |
| 6 <template bind if="{{ valueType == 'Primitive' }}"> | 6 <template bind if="{{ valueType == 'Primitive' }}"> |
| 7 <span>{{primitiveString}}</span> | 7 <span>{{primitiveString}}</span> |
| 8 </template> | 8 </template> |
| 9 <template bind if="{{ valueType == 'List' }}"> | 9 <template bind if="{{ valueType == 'List' }}"> |
| 10 <table class="table table-condensed table-bordered"> | 10 <table class="table table-condensed table-bordered"> |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 <tr template repeat="{{key in keys}}"> | 24 <tr template repeat="{{key in keys}}"> |
| 25 <th>{{key}}</th> | 25 <th>{{key}}</th> |
| 26 <td><json-view json="{{value(key)}}"></json-view></td> | 26 <td><json-view json="{{value(key)}}"></json-view></td> |
| 27 </tr> | 27 </tr> |
| 28 </tbody> | 28 </tbody> |
| 29 </table> | 29 </table> |
| 30 </template> | 30 </template> |
| 31 </template> | 31 </template> |
| 32 <script type="application/dart" src="json_view.dart"></script> | 32 <script type="application/dart" src="json_view.dart"></script> |
| 33 </polymer-element> | 33 </polymer-element> |
| OLD | NEW |