This commit is contained in:
Yotam Mann 2017-08-13 21:46:43 -04:00
parent 5fe3e9106c
commit a4032ad65c
2 changed files with 2 additions and 2 deletions

View file

@ -525,7 +525,7 @@ define(["Tone/core/Tone", "Tone/core/Emitter", "Tone/core/Timeline"], function (
AudioNode.prototype.connect = toneConnect;
AudioNode.prototype.disconnect = toneDisconnect;
}
})
});
// set the audio context initially

View file

@ -800,7 +800,7 @@ define(function(){
var resCallback = function(){
resolve(Tone.context);
Tone.Context.off("init", resCallback);
}
};
Tone.Context.on("init", resCallback);
}
return Tone;