Merge branch 'master' of github.com:jean-emmanuel/open-stage-control

This commit is contained in:
jean-emmanuel 2021-05-01 17:57:05 +02:00
commit eea4e11cf0
5 changed files with 56 additions and 4 deletions

View file

@ -430,7 +430,7 @@ class ScriptVm extends Vm {
for (var imports of ['set', 'get', 'getProp', 'getIndex', 'updateProp', 'send', 'httpGet', 'stateGet', 'stateSet', 'storage',
'setInterval', 'clearInterval', 'setTimeout', 'clearTimeout', 'setFocus', 'unfocus', 'setScroll', 'getScroll', 'toolbar',
'openUrl']) {
'openUrl', 'getVar', 'setVar']) {
this.sanitize(this.sandbox.contentWindow[imports])
}