code editor: fix available globals for onResize
This commit is contained in:
parent
e7ffec8c03
commit
e5d5d0aa06
1 changed files with 4 additions and 0 deletions
|
|
@ -207,7 +207,11 @@ class CodeEditor {
|
|||
globals = this.widget.getProp('type') === 'canvas' ?
|
||||
{value: true, height: true, width: true, event: true} :
|
||||
{value: true, event: true, handle: true}
|
||||
} else if (this.name === 'onResize') {
|
||||
globals = {value: true, height: true, width: true, cssVars: true}
|
||||
}
|
||||
|
||||
|
||||
globals.locals = true
|
||||
globals.console = true
|
||||
globals.JS = true
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue