advanced syntaxes: @{} and VAR{} do not return a copy of their value anymore as it may introduce a significant overhead when used extensively. Mutating these objects in #{} and JS{} scripts will now affect the actual values and should be avoided at all cost.
This commit is contained in:
parent
cafb8b904a
commit
887ea569db
4 changed files with 18 additions and 8 deletions
|
|
@ -668,7 +668,7 @@ class Widget extends EventEmitter {
|
|||
var r
|
||||
switch (k) {
|
||||
case 'value':
|
||||
r = widgets[i].getValue(true)
|
||||
r = widgets[i].value
|
||||
break
|
||||
case 'uuid':
|
||||
r = widgets[i].hash
|
||||
|
|
@ -746,7 +746,7 @@ class Widget extends EventEmitter {
|
|||
}
|
||||
}
|
||||
|
||||
var r = deepCopy(this.variables[name].value)
|
||||
var r = this.variables[name].value
|
||||
|
||||
var varname = 'VAR_' + varnumber
|
||||
varnumber--
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue