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

Unified Diff: ui/webui/resources/cr_elements/network/cr_network_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/cr_elements/network/cr_network_list.js
diff --git a/ui/webui/resources/cr_elements/network/cr_network_list.js b/ui/webui/resources/cr_elements/network/cr_network_list.js
index e1ded9a75368a2ddc21ea7a51f96c61d2316f75d..595ea7b6e36180eba681e6cacd2e0920712c093b 100644
--- a/ui/webui/resources/cr_elements/network/cr_network_list.js
+++ b/ui/webui/resources/cr_elements/network/cr_network_list.js
@@ -26,23 +26,13 @@ Polymer({
* The list of network state properties for the items to display.
* @type {!Array<!CrOnc.NetworkStateProperties>}
*/
- networks: {
- type: Array,
- value: function() {
- return [];
- }
- },
+ networks: {type: Array, value: function() { return []; }},
/**
* The list of custom items to display after the list of networks.
* @type {!Array<!CrNetworkList.CustomItemState>}
*/
- customItems: {
- type: Array,
- value: function() {
- return [];
- }
- },
+ customItems: {type: Array, value: function() { return []; }},
/** True if action buttons should be shown for the itmes. */
showButtons: {
@@ -78,9 +68,7 @@ Polymer({
},
/** @private */
- listChanged_: function() {
- this.updateScrollableContents();
- },
+ listChanged_: function() { this.updateScrollableContents(); },
/**
* Returns a combined list of networks and custom items.

Powered by Google App Engine
This is Rietveld 408576698