From c9d41345b733615c884a798873b4b5267b495b8e Mon Sep 17 00:00:00 2001 From: Yotam Mann Date: Tue, 25 Apr 2017 23:08:57 -0400 Subject: [PATCH] bass constructor invoked without options --- Tone/core/Buffer.js | 2 +- Tone/core/Buffers.js | 2 +- Tone/core/Delay.js | 2 +- Tone/core/Gain.js | 2 +- Tone/core/Param.js | 2 +- Tone/core/Timeline.js | 2 +- Tone/event/Event.js | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Tone/core/Buffer.js b/Tone/core/Buffer.js index 826f31e4..12cfea85 100644 --- a/Tone/core/Buffer.js +++ b/Tone/core/Buffer.js @@ -48,7 +48,7 @@ define(["Tone/core/Tone", "Tone/core/Emitter", "Tone/type/Type"], function(Tone) Tone.Buffer = function(){ var options = Tone.defaults(arguments, ["url", "onload", "onerror"], Tone.Buffer); - Tone.call(this, options); + Tone.call(this); /** * stores the loaded AudioBuffer diff --git a/Tone/core/Buffers.js b/Tone/core/Buffers.js index 3e4d1678..c41567c6 100644 --- a/Tone/core/Buffers.js +++ b/Tone/core/Buffers.js @@ -30,7 +30,7 @@ define(["Tone/core/Tone", "Tone/core/Buffer"], function (Tone) { urls = { "urls" : urls }; } var options = Tone.defaults(arguments, ["urls", "onload", "baseUrl"], Tone.Buffers); - Tone.call(this, options); + Tone.call(this); /** * All of the buffers diff --git a/Tone/core/Delay.js b/Tone/core/Delay.js index 23dc5b25..d2150297 100644 --- a/Tone/core/Delay.js +++ b/Tone/core/Delay.js @@ -19,7 +19,7 @@ define(["Tone/core/Tone", "Tone/core/Param"], function (Tone) { Tone.Delay = function(){ var options = Tone.defaults(arguments, ["delayTime", "maxDelay"], Tone.Delay); - Tone.call(this, options); + Tone.call(this); /** * The native delay node diff --git a/Tone/core/Gain.js b/Tone/core/Gain.js index cb0b3ff3..04431e56 100644 --- a/Tone/core/Gain.js +++ b/Tone/core/Gain.js @@ -21,7 +21,7 @@ define(["Tone/core/Tone", "Tone/core/Param", "Tone/type/Type"], function (Tone) Tone.Gain = function(){ var options = Tone.defaults(arguments, ["gain", "units"], Tone.Gain); - Tone.call(this, options); + Tone.call(this); /** * The GainNode diff --git a/Tone/core/Param.js b/Tone/core/Param.js index e1fa74e8..fc72c143 100644 --- a/Tone/core/Param.js +++ b/Tone/core/Param.js @@ -15,7 +15,7 @@ define(["Tone/core/Tone", "Tone/type/Type"], function(Tone){ Tone.Param = function(){ var options = Tone.defaults(arguments, ["param", "units", "convert"], Tone.Param); - Tone.call(this, options); + Tone.call(this); /** * The native parameter to control diff --git a/Tone/core/Timeline.js b/Tone/core/Timeline.js index 382c158c..c9d9264a 100644 --- a/Tone/core/Timeline.js +++ b/Tone/core/Timeline.js @@ -13,7 +13,7 @@ define(["Tone/core/Tone"], function (Tone) { Tone.Timeline = function(){ var options = Tone.defaults(arguments, ["memory"], Tone.Timeline); - Tone.call(this, options); + Tone.call(this); /** * The array of scheduled timeline events diff --git a/Tone/event/Event.js b/Tone/event/Event.js index 32caa82d..59809c90 100644 --- a/Tone/event/Event.js +++ b/Tone/event/Event.js @@ -24,7 +24,7 @@ define(["Tone/core/Tone", "Tone/core/Transport", "Tone/type/Type", "Tone/core/Ti Tone.Event = function(){ var options = Tone.defaults(arguments, ["callback", "value"], Tone.Event); - Tone.call(this, options); + Tone.call(this); /** * Loop value