wrapNode(): One argument ought to be enough for anybody.
This commit is contained in:
parent
2bcddab9b6
commit
256b1880cb
1 changed files with 2 additions and 2 deletions
|
@ -71,8 +71,8 @@ var interpolate = func(node, val...) {
|
||||||
var setlistener = func(node, fun, init=0, runtime=1) {
|
var setlistener = func(node, fun, init=0, runtime=1) {
|
||||||
if(isa(node, props.Node)) node = node._g;
|
if(isa(node, props.Node)) node = node._g;
|
||||||
var id = _setlistener(node, func {
|
var id = _setlistener(node, func {
|
||||||
arg[0] = props.wrapNode(arg[0], nil);
|
arg[0] = props.wrapNode(arg[0]);
|
||||||
arg[1] = props.wrapNode(arg[1], nil);
|
arg[1] = props.wrapNode(arg[1]);
|
||||||
call(fun, arg);
|
call(fun, arg);
|
||||||
}, init, runtime);
|
}, init, runtime);
|
||||||
if(__.log_level <= 2) {
|
if(__.log_level <= 2) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue