diff --git a/app/main/osc.js b/app/main/osc.js index 5534e473..85d9b5d3 100644 --- a/app/main/osc.js +++ b/app/main/osc.js @@ -92,7 +92,8 @@ var customModule = (function(){ context = { console: console, sendOsc: sendOsc, - receiveOsc: receiveOsc + receiveOsc: receiveOsc, + setTimeout: setTimeout } try { @@ -144,6 +145,10 @@ oscServer.on('error', function (error) { oscServer.open() +if (customModule.init) { + customModule.init() +} + module.exports = {