Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(94)

Unified Diff: ui/webui/resources/js/cr/ui/table/table_column.js

Issue 2603443002: Clang format JS: Disallow single line functions, conditionals, loops, and switch statements (Closed)
Patch Set: update c/b/r/ as well Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/webui/resources/js/cr/ui/table.js ('k') | ui/webui/resources/js/cr/ui/table/table_column_model.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5977383a6814c3bc80f3ab84d7b78c1983c3654b..c5febceeebc117a569834c6f98d11caecad529d1 100644
--- a/ui/webui/resources/js/cr/ui/table/table_column.js
+++ b/ui/webui/resources/js/cr/ui/table/table_column.js
@@ -75,14 +75,18 @@ cr.define('cr.ui.table', function() {
* The width of the column. Hidden columns have zero width.
* @type {number}
*/
- get width() { return this.visible_ ? this.width_ : 0; },
+ get width() {
+ return this.visible_ ? this.width_ : 0;
+ },
/**
* The width of the column, disregarding visibility. For hidden columns,
* this would be the width of the column if it were to be made visible.
* @type {number}
*/
- get absoluteWidth() { return this.width_; },
+ get absoluteWidth() {
+ return this.width_;
+ },
};
/**
« no previous file with comments | « ui/webui/resources/js/cr/ui/table.js ('k') | ui/webui/resources/js/cr/ui/table/table_column_model.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698