reinit test on new Context

This commit is contained in:
Yotam Mann 2017-02-19 15:31:03 -05:00
parent 6d8669ce56
commit 99955515ea

View file

@ -15,7 +15,9 @@ define(["Tone/core/Tone", "deps/chai", "Tone/core/Context"], function (Tone, cha
timeout : 5000
});
Context.on("init", function(){
Test.input = Tone.context.createGain();
});
/**
* The Test object