| 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 30 matching lines...) Expand all Loading... |
| 41 void _refresh() { | 41 void _refresh() { |
| 42 if (_collapsed) { | 42 if (_collapsed) { |
| 43 iconClass = _openIconClass; | 43 iconClass = _openIconClass; |
| 44 displayValue = 'none'; | 44 displayValue = 'none'; |
| 45 } else { | 45 } else { |
| 46 iconClass = _closeIconClass; | 46 iconClass = _closeIconClass; |
| 47 displayValue = 'block'; | 47 displayValue = 'block'; |
| 48 } | 48 } |
| 49 } | 49 } |
| 50 } | 50 } |
| OLD | NEW |