OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 cr.define('options', function() { | 5 cr.define('options', function() { |
6 const List = cr.ui.List; | 6 const List = cr.ui.List; |
7 const ListItem = cr.ui.ListItem; | 7 const ListItem = cr.ui.ListItem; |
8 | 8 |
9 /** | 9 /** |
10 * Creates a deletable list item, which has a button that will trigger a call | 10 * Creates a deletable list item, which has a button that will trigger a call |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
162 */ | 162 */ |
163 deleteItemAtIndex: function(index) { | 163 deleteItemAtIndex: function(index) { |
164 }, | 164 }, |
165 }; | 165 }; |
166 | 166 |
167 return { | 167 return { |
168 DeletableItemList: DeletableItemList, | 168 DeletableItemList: DeletableItemList, |
169 DeletableItem: DeletableItem, | 169 DeletableItem: DeletableItem, |
170 }; | 170 }; |
171 }); | 171 }); |
OLD | NEW |