bass constructor invoked without options

This commit is contained in:
Yotam Mann 2017-04-25 23:08:57 -04:00
parent 6e585e8f82
commit c9d41345b7
7 changed files with 7 additions and 7 deletions

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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