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

Unified Diff: ui/webui/resources/cr_elements/network/cr_network_select.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_select.js
diff --git a/ui/webui/resources/cr_elements/network/cr_network_select.js b/ui/webui/resources/cr_elements/network/cr_network_select.js
index 30e67e813629ca916dcd5c13fe60f3f1c0f78e86..de4cdefe5b704bd52dbeaedda38321af396de824 100644
--- a/ui/webui/resources/cr_elements/network/cr_network_select.js
+++ b/ui/webui/resources/cr_elements/network/cr_network_select.js
@@ -76,7 +76,12 @@ Polymer({
* List of all network state data for all visible networks.
* @type {!Array<!CrOnc.NetworkStateProperties>}
*/
- networkStateList: {type: Array, value: function() { return []; }},
+ networkStateList: {
+ type: Array,
+ value: function() {
+ return [];
+ }
+ },
/**
* The list of custom items to display after the list of networks.
@@ -85,7 +90,9 @@ Polymer({
*/
customItems: {
type: Array,
- value: function() { return []; },
+ value: function() {
+ return [];
+ },
},
/**
« no previous file with comments | « ui/webui/resources/cr_elements/network/cr_network_list_item.js ('k') | ui/webui/resources/js/action_link.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698