| OLD | NEW |
| 1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 /** | 5 /** |
| 6 * Javascript for ExpandableList and ExpandableListItem, served from | 6 * Javascript for ExpandableList and ExpandableListItem, served from |
| 7 * chrome://bluetooth-internals/. | 7 * chrome://bluetooth-internals/. |
| 8 */ | 8 */ |
| 9 | 9 |
| 10 cr.define('expandable_list', function() { | 10 cr.define('expandable_list', function() { |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 * the data model, the empty message is displayed. | 130 * the data model, the empty message is displayed. |
| 131 */ | 131 */ |
| 132 updateMessageDisplay_: function() { | 132 updateMessageDisplay_: function() { |
| 133 this.emptyMessage_.hidden = this.dataModel.length > 0; | 133 this.emptyMessage_.hidden = this.dataModel.length > 0; |
| 134 }, | 134 }, |
| 135 }; | 135 }; |
| 136 | 136 |
| 137 return { | 137 return { |
| 138 ExpandableListItem: ExpandableListItem, | 138 ExpandableListItem: ExpandableListItem, |
| 139 ExpandableList: ExpandableList, | 139 ExpandableList: ExpandableList, |
| 140 } | 140 }; |
| 141 }); | 141 }); |
| OLD | NEW |