Index: ui/webui/resources/js/cr/ui/table/table_column.js |
diff --git a/ui/webui/resources/js/cr/ui/table/table_column.js b/ui/webui/resources/js/cr/ui/table/table_column.js |
index d8533a04e7186569f4c84ea7cdd53b00b2f3a612..ac14f30f41b0d73921b00177f8500b7ed6228d42 100644 |
--- a/ui/webui/resources/js/cr/ui/table/table_column.js |
+++ b/ui/webui/resources/js/cr/ui/table/table_column.js |
@@ -11,28 +11,23 @@ cr.define('cr.ui.table', function() { |
/** |
* A table column that wraps column ids and settings. |
- * @param {!Array} columnIds Array of column ids. |
+ * @param {string} id |
+ * @param {string} name |
+ * @param {number} width |
+ * @param {boolean=} opt_endAlign |
* @constructor |
- * @extends {EventTarget} |
+ * @extends {cr.EventTarget} |
*/ |
- function TableColumn(id, name, width, endAlign) { |
+ function TableColumn(id, name, width, opt_endAlign) { |
this.id_ = id; |
this.name_ = name; |
this.width_ = width; |
- this.endAlign_ = endAlign; |
+ this.endAlign_ = !!opt_endAlign; |
} |
TableColumn.prototype = { |
__proto__: EventTarget.prototype, |
- id_: null, |
- |
- name_: null, |
- |
- width_: null, |
- |
- endAlign_: false, |
- |
defaultOrder_: 'asc', |
/** |