Index: ui/webui/resources/js/cr/ui/array_data_model.js |
diff --git a/ui/webui/resources/js/cr/ui/array_data_model.js b/ui/webui/resources/js/cr/ui/array_data_model.js |
index 5138cefeb244147d4ecce9324b4b589575969b2b..d63fbb6e23858c0cc8bbeb8c32c545a2f37c7a20 100644 |
--- a/ui/webui/resources/js/cr/ui/array_data_model.js |
+++ b/ui/webui/resources/js/cr/ui/array_data_model.js |
@@ -41,7 +41,9 @@ cr.define('cr.ui', function() { |
* The length of the data model. |
* @type {number} |
*/ |
- get length() { return this.array_.length; }, |
+ get length() { |
+ return this.array_.length; |
+ }, |
/** |
* Returns the item at the given index. |
@@ -61,7 +63,9 @@ cr.define('cr.ui', function() { |
* @param {string} field The field to get compare function for. |
* @return {function(*, *): number} Compare function set for given field. |
*/ |
- compareFunction: function(field) { return this.compareFunctions_[field]; }, |
+ compareFunction: function(field) { |
+ return this.compareFunctions_[field]; |
+ }, |
/** |
* Sets compare function for given field. |
@@ -243,7 +247,9 @@ cr.define('cr.ui', function() { |
* This runs sort after updating. |
* @param {number} index The index of the item to update. |
*/ |
- updateIndex: function(index) { this.updateIndexes([index]); }, |
+ updateIndex: function(index) { |
+ this.updateIndexes([index]); |
+ }, |
/** |
* Notifies of update of the items in the array. This does not remove and |
@@ -294,7 +300,9 @@ cr.define('cr.ui', function() { |
* @param {function()} callback The function to invoke when preparation |
* is complete. |
*/ |
- prepareSort: function(field, callback) { callback(); }, |
+ prepareSort: function(field, callback) { |
+ callback(); |
+ }, |
/** |
* Sorts data model according to given field and direction and dispathes |