| Index: chrome/browser/resources/chromeos/emulator/audio_settings.js
|
| diff --git a/chrome/browser/resources/chromeos/emulator/audio_settings.js b/chrome/browser/resources/chromeos/emulator/audio_settings.js
|
| index d64a4cf62304e278e0bf05705232b3254ea31bce..08ef9c230bcd53ff07708f00ed72e2f3a7ca19c2 100644
|
| --- a/chrome/browser/resources/chromeos/emulator/audio_settings.js
|
| +++ b/chrome/browser/resources/chromeos/emulator/audio_settings.js
|
| @@ -58,7 +58,9 @@ Polymer({
|
| */
|
| currentEditableObject: {
|
| type: Object,
|
| - value: function() { return {}; }
|
| + value: function() {
|
| + return {};
|
| + }
|
| },
|
|
|
| /**
|
| @@ -66,20 +68,35 @@ Polymer({
|
| * This is initially set to -1 (i.e. no node selected) becuase no devices
|
| * have been copied.
|
| */
|
| - currentEditIndex: {type: Number, value: function() { return -1; }},
|
| + currentEditIndex: {
|
| + type: Number,
|
| + value: function() {
|
| + return -1;
|
| + }
|
| + },
|
|
|
| /**
|
| * A counter that will auto increment everytime a new node is added
|
| * or copied and used to set a new id. This allows the |AudioNode.id|
|
| * to allows be unique.
|
| */
|
| - nodeCount: {type: Number, value: function() { return 0; }},
|
| + nodeCount: {
|
| + type: Number,
|
| + value: function() {
|
| + return 0;
|
| + }
|
| + },
|
|
|
| /**
|
| * A set of audio nodes.
|
| * @type !Array<!AudioNode>
|
| */
|
| - nodes: {type: Array, value: function() { return []; }},
|
| + nodes: {
|
| + type: Array,
|
| + value: function() {
|
| + return [];
|
| + }
|
| + },
|
|
|
| /**
|
| * A set of options for the possible audio node types.
|
|
|