Fixing executing function in expression.
This commit is contained in:
parent
6b535dd8a2
commit
1ba594c4f7
1 changed files with 1 additions and 1 deletions
|
@ -222,7 +222,7 @@ function evaluate(tokens, expr, values) {
|
|||
nstack.push(f.apply(undefined, args));
|
||||
} else if(f.execute) {
|
||||
// Objects & expressions execution
|
||||
nstack.push(f.execute.apply(undefined, args));
|
||||
nstack.push(f.execute.apply(f, args));
|
||||
} else {
|
||||
throw new Error(f + ' cannot be executed');
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue