| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 class_tree_element; | 5 library class_tree_element; |
| 6 | 6 |
| 7 import 'observatory_element.dart'; | 7 import 'observatory_element.dart'; |
| 8 import 'dart:html'; | 8 import 'dart:html'; |
| 9 import 'package:logging/logging.dart'; | 9 import 'package:logging/logging.dart'; |
| 10 import 'package:observatory/app.dart'; | 10 import 'package:observatory/app.dart'; |
| (...skipping 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 try { | 106 try { |
| 107 // Subtract 1 to get 0 based indexing. | 107 // Subtract 1 to get 0 based indexing. |
| 108 tree.toggle(row.rowIndex - 1); | 108 tree.toggle(row.rowIndex - 1); |
| 109 } catch (e, stackTrace) { | 109 } catch (e, stackTrace) { |
| 110 Logger.root.warning('toggleExpanded', e, stackTrace); | 110 Logger.root.warning('toggleExpanded', e, stackTrace); |
| 111 } | 111 } |
| 112 } | 112 } |
| 113 } | 113 } |
| 114 | 114 |
| 115 } | 115 } |
| OLD | NEW |