| 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 isolate_profile_element; | 5 library isolate_profile_element; |
| 6 | 6 |
| 7 import 'dart:html'; | 7 import 'dart:html'; |
| 8 import 'observatory_element.dart'; | 8 import 'observatory_element.dart'; |
| 9 import 'package:logging/logging.dart'; | 9 import 'package:logging/logging.dart'; |
| 10 import 'package:observatory/service.dart'; | 10 import 'package:observatory/service.dart'; |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 if (row is TableRowElement) { | 201 if (row is TableRowElement) { |
| 202 // Subtract 1 to get 0 based indexing. | 202 // Subtract 1 to get 0 based indexing. |
| 203 try { | 203 try { |
| 204 tree.toggle(row.rowIndex - 1); | 204 tree.toggle(row.rowIndex - 1); |
| 205 } catch (e, stackTrace) { | 205 } catch (e, stackTrace) { |
| 206 Logger.root.warning('toggleExpanded', e, stackTrace); | 206 Logger.root.warning('toggleExpanded', e, stackTrace); |
| 207 } | 207 } |
| 208 } | 208 } |
| 209 } | 209 } |
| 210 } | 210 } |
| OLD | NEW |