custom module: expose clearInterval & clearTimeout
This commit is contained in:
parent
d9879f3567
commit
1ebc8e4784
2 changed files with 9 additions and 6 deletions
|
|
@ -6,6 +6,7 @@
|
|||
- session list: fix "remove from history" always removing the first item in the list
|
||||
- custom module
|
||||
- expose `setInterval`
|
||||
- expose `clearTimeout` and `clearInterval`
|
||||
- prevent errors when failing to run the module
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -133,12 +133,14 @@ var customModule = (function(){
|
|||
})(),
|
||||
mod,
|
||||
context = {
|
||||
console: console,
|
||||
sendOsc: sendOsc,
|
||||
receiveOsc: receiveOsc,
|
||||
setTimeout: setTimeout,
|
||||
setInterval: setInterval,
|
||||
settings: settings
|
||||
console,
|
||||
sendOsc,
|
||||
receiveOsc,
|
||||
setTimeout,
|
||||
clearTimeout,
|
||||
setInterval,
|
||||
clearInterval,
|
||||
settings
|
||||
}
|
||||
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue