1
0
Fork 0

wrapNode(): One argument ought to be enough for anybody.

This commit is contained in:
mfranz 2007-10-15 18:32:20 +00:00
parent 2bcddab9b6
commit 256b1880cb

View file

@ -71,8 +71,8 @@ var interpolate = func(node, val...) {
var setlistener = func(node, fun, init=0, runtime=1) {
if(isa(node, props.Node)) node = node._g;
var id = _setlistener(node, func {
arg[0] = props.wrapNode(arg[0], nil);
arg[1] = props.wrapNode(arg[1], nil);
arg[0] = props.wrapNode(arg[0]);
arg[1] = props.wrapNode(arg[1]);
call(fun, arg);
}, init, runtime);
if(__.log_level <= 2) {