docs: VAR{}, getVar, setVar
This commit is contained in:
parent
fbc2eda1cd
commit
b56d05713d
3 changed files with 23 additions and 2 deletions
|
|
@ -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])
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue