docs: VAR{}, getVar, setVar

This commit is contained in:
bordun 2021-05-01 17:08:32 +02:00
parent fbc2eda1cd
commit b56d05713d
3 changed files with 23 additions and 2 deletions

View file

@ -384,7 +384,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])
}