mirror of
https://github.com/Tonejs/Tone.js
synced 2024-11-16 08:38:00 +00:00
bass constructor invoked without options
This commit is contained in:
parent
6e585e8f82
commit
c9d41345b7
7 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue