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

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

Issue 2597013002: Run clang-format on ui/webui/resources (Closed)
Patch Set: remove cr_shared_menu.js 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..853d171d418ab3819f58fe83fbd36f703b3b13b8 100644
--- a/ui/webui/resources/js/cr/ui/table/table_list.js
+++ b/ui/webui/resources/js/cr/ui/table/table_list.js
@@ -23,7 +23,7 @@ cr.define('cr.ui.table', function() {
table_: null,
- /**
+ /**
* Initializes the element.
*/
decorate: function() {
@@ -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