Index: ui/webui/resources/js/cr/ui/table/table_column_model.js |
diff --git a/ui/webui/resources/js/cr/ui/table/table_column_model.js b/ui/webui/resources/js/cr/ui/table/table_column_model.js |
index 1f6322bd6cea9b65a70bbe3e4be494f670bda613..d2067c88ab45e17c520b9016dfa0c9e6a9e18049 100644 |
--- a/ui/webui/resources/js/cr/ui/table/table_column_model.js |
+++ b/ui/webui/resources/js/cr/ui/table/table_column_model.js |
@@ -32,14 +32,18 @@ cr.define('cr.ui.table', function() { |
* The number of the columns. |
* @type {number} |
*/ |
- get size() { return this.columns_.length; }, |
+ get size() { |
+ return this.columns_.length; |
+ }, |
/** |
* Returns id of column at the given index. |
* @param {number} index The index of the column. |
* @return {string} Column id. |
*/ |
- getId: function(index) { return this.columns_[index].id; }, |
+ getId: function(index) { |
+ return this.columns_[index].id; |
+ }, |
/** |
* Returns name of column at the given index. Name is used as column header |
@@ -47,7 +51,9 @@ cr.define('cr.ui.table', function() { |
* @param {number} index The index of the column. |
* @return {string} Column name. |
*/ |
- getName: function(index) { return this.columns_[index].name; }, |
+ getName: function(index) { |
+ return this.columns_[index].name; |
+ }, |
/** |
* Sets name of column at the given index. |
@@ -69,14 +75,18 @@ cr.define('cr.ui.table', function() { |
* @param {number} index The index of the column. |
* @return {string} Column width in pixels. |
*/ |
- getWidth: function(index) { return this.columns_[index].width; }, |
+ getWidth: function(index) { |
+ return this.columns_[index].width; |
+ }, |
/** |
* Check if the column at the given index should align to the end. |
* @param {number} index The index of the column. |
* @return {boolean} True if the column is aligned to end. |
*/ |
- isEndAlign: function(index) { return this.columns_[index].endAlign; }, |
+ isEndAlign: function(index) { |
+ return this.columns_[index].endAlign; |
+ }, |
/** |
* Sets width of column at the given index. |
@@ -203,7 +213,9 @@ cr.define('cr.ui.table', function() { |
* @param {number} index The column index. |
* @return {boolean} Whether the column is visible. |
*/ |
- isVisible: function(index) { return this.columns_[index].visible; } |
+ isVisible: function(index) { |
+ return this.columns_[index].visible; |
+ } |
}; |
return {TableColumnModel: TableColumnModel}; |