| 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 collapsible_content_element; | 5 library collapsible_content_element; |
| 6 | 6 |
| 7 import 'dart:html'; | 7 import 'dart:html'; |
| 8 import 'package:polymer/polymer.dart'; | 8 import 'package:polymer/polymer.dart'; |
| 9 import 'observatory_element.dart'; | 9 import 'observatory_element.dart'; |
| 10 | 10 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 void _refresh() { | 37 void _refresh() { |
| 38 if (_collapsed) { | 38 if (_collapsed) { |
| 39 iconClass = _openIconClass; | 39 iconClass = _openIconClass; |
| 40 displayValue = 'none'; | 40 displayValue = 'none'; |
| 41 } else { | 41 } else { |
| 42 iconClass = _closeIconClass; | 42 iconClass = _closeIconClass; |
| 43 displayValue = 'block'; | 43 displayValue = 'block'; |
| 44 } | 44 } |
| 45 } | 45 } |
| 46 } | 46 } |
| OLD | NEW |