Updated docs

This commit is contained in:
Devine Lu Linvega
2019-07-22 15:41:13 +09:00
parent 2c93193434
commit 5d1d94415e
2 changed files with 24 additions and 17 deletions

View File

@@ -441,7 +441,7 @@ function Library (ronin) {
return window
}
this.on = (event, f) => {
this.on = (event, f) => { // Triggers on event.
ronin.bind(event, f)
}
@@ -460,10 +460,4 @@ function Library (ronin) {
console.log(`time taken: ${Date.now() - start}ms`)
return result
}
// IO
this.osc = (path) => { // Returns the latest osc message at path
return path ? ronin.osc.msg[path] : ronin.osc.msg
}
}