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

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

Issue 2597013002: Run clang-format on ui/webui/resources (Closed)
Patch Set: merge 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
Index: ui/webui/resources/js/cr/ui/table/table_list.js
diff --git a/ui/webui/resources/js/cr/ui/table/table_list.js b/ui/webui/resources/js/cr/ui/table/table_list.js
index 665dd017d8515c968ab274d1154c5ceb72dfd1fe..ad320bc3b9dc5bf2fa64e16b0a4d2abf287fdf6c 100644
--- a/ui/webui/resources/js/cr/ui/table/table_list.js
+++ b/ui/webui/resources/js/cr/ui/table/table_list.js
@@ -23,9 +23,9 @@ cr.define('cr.ui.table', function() {
table_: null,
- /**
- * Initializes the element.
- */
+ /**
+ * Initializes the element.
+ */
decorate: function() {
List.prototype.decorate.apply(this);
this.className = 'list';
@@ -83,7 +83,8 @@ cr.define('cr.ui.table', function() {
getAfterFillerHeight: function(lastIndex) {
// If the list is empty set height to 1 to show horizontal
// scroll bar.
- return lastIndex == 0 ? 1 :
+ return lastIndex == 0 ?
+ 1 :
cr.ui.List.prototype.getAfterFillerHeight.call(this, lastIndex);
},
@@ -215,7 +216,5 @@ cr.define('cr.ui.table', function() {
*/
cr.defineProperty(TableList, 'table');
- return {
- TableList: TableList
- };
+ return {TableList: TableList};
});

Powered by Google App Engine
This is Rietveld 408576698