| 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.
|
|
|