1
0
Fork 0

fix comment & cosmetics

This commit is contained in:
mfranz 2007-11-06 21:23:53 +00:00
parent 9b7eafd658
commit b3ab26db07

View file

@ -68,7 +68,7 @@ var interpolate = func(node, val...) {
# a function in arg[1], an optional bool in arg[2], which triggers the # a function in arg[1], an optional bool in arg[2], which triggers the
# function initially if true, and an optional integer in arg[3], which # function initially if true, and an optional integer in arg[3], which
# sets the listener's runtime behavior to "only trigger on change" (0), # sets the listener's runtime behavior to "only trigger on change" (0),
# "always trigger on write" (2), and "trigger even when children are # "always trigger on write" (1), and "trigger even when children are
# written to" (2). # written to" (2).
# #
var setlistener = func(node, fun, init=0, runtime=1) { var setlistener = func(node, fun, init=0, runtime=1) {
@ -80,7 +80,7 @@ var setlistener = func(node, fun, init=0, runtime=1) {
}, init, runtime); }, init, runtime);
if(__.log_level <= 2) { if(__.log_level <= 2) {
var c = caller(1); var c = caller(1);
print(sprintf("setting listener #%d in %s, line %s", id, c[2], c[3])) print(sprintf("setting listener #%d in %s, line %s", id, c[2], c[3]));
} }
return id; return id;
} }