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

Unified Diff: ui/webui/resources/cr_elements/network/cr_network_list_item.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
Index: ui/webui/resources/cr_elements/network/cr_network_list_item.js
diff --git a/ui/webui/resources/cr_elements/network/cr_network_list_item.js b/ui/webui/resources/cr_elements/network/cr_network_list_item.js
index 37b633133ba227a6c85b4e2fb414f362a65dda2d..4ec8666753ca21d91bc436794b37dab7aa5dc1d6 100644
--- a/ui/webui/resources/cr_elements/network/cr_network_list_item.js
+++ b/ui/webui/resources/cr_elements/network/cr_network_list_item.js
@@ -101,7 +101,9 @@ Polymer({
},
/** @private */
- isStateTextConnected_() { return this.isListItem && this.isConnected_(); },
+ isStateTextConnected_() {
+ return this.isListItem && this.isConnected_();
+ },
/**
* This only gets called for network items once networkState is set.
« no previous file with comments | « ui/webui/resources/cr_elements/network/cr_network_list.js ('k') | ui/webui/resources/cr_elements/network/cr_network_select.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698