misc: fix some module require orders
This commit is contained in:
parent
831f80f7b0
commit
cd2e77272c
5 changed files with 19 additions and 8 deletions
|
|
@ -13,6 +13,10 @@ var Osc = class Osc extends EventEmitter {
|
|||
this.remoteControl = {}
|
||||
this.serverTargets = []
|
||||
|
||||
setTimeout(()=>{
|
||||
osc.remoteControl = require('./remote-control')
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
send(data) {
|
||||
|
|
@ -76,5 +80,3 @@ var Osc = class Osc extends EventEmitter {
|
|||
var osc = new Osc()
|
||||
|
||||
module.exports = osc
|
||||
|
||||
osc.remoteControl = require('./remote-control')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue