| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 library observatory_element; | 5 library observatory_element; |
| 6 | 6 |
| 7 import 'dart:async'; | 7 import 'dart:async'; |
| 8 import 'dart:html'; | 8 import 'dart:html'; |
| 9 import 'package:observatory/app.dart'; | 9 import 'package:observatory/app.dart'; |
| 10 import 'package:polymer/polymer.dart'; | 10 import 'package:polymer/polymer.dart'; |
| (...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 151 return (type == 'Type'); | 151 return (type == 'Type'); |
| 152 } | 152 } |
| 153 | 153 |
| 154 bool isUnexpected(String type) { | 154 bool isUnexpected(String type) { |
| 155 return (!['Null', | 155 return (!['Null', |
| 156 'Smi', | 156 'Smi', |
| 157 'Mint', | 157 'Mint', |
| 158 'Bigint', | 158 'Bigint', |
| 159 'Bool', | 159 'Bool', |
| 160 'String', | 160 'String', |
| 161 » 'Double', | 161 'Double', |
| 162 'Instance', | 162 'Instance', |
| 163 'GrowableObjectArray', | 163 'GrowableObjectArray', |
| 164 'Array', | 164 'Array', |
| 165 'Type', | 165 'Type', |
| 166 'Error'].contains(type)); | 166 'Error'].contains(type)); |
| 167 } | 167 } |
| 168 } | 168 } |
| OLD | NEW |