removed superfulous logs
This commit is contained in:
parent
14f98cba53
commit
f84a926317
|
@ -258,19 +258,15 @@ function registerFn(fnname, fn, preplace) {
|
||||||
|
|
||||||
|
|
||||||
function execFn(name, args) {
|
function execFn(name, args) {
|
||||||
log("exec '" + name + "'");
|
|
||||||
root = fnreg;
|
root = fnreg;
|
||||||
names = name.split(".");
|
names = name.split(".");
|
||||||
for (i=0; i< names.length; i++) {
|
for (i=0; i< names.length; i++) {
|
||||||
log("looking for " + i +":"+names[i] + " in " + root.length + " nodes");
|
|
||||||
root = root[names[i]];
|
root = root[names[i]];
|
||||||
if (root == undefined)
|
if (root == undefined)
|
||||||
return false; // ERROR, NO FN
|
return false; // ERROR, NO FN
|
||||||
}
|
}
|
||||||
i=0;
|
i=0;
|
||||||
log("found functions");
|
|
||||||
while(root[i]) {
|
while(root[i]) {
|
||||||
log("exec " + i);
|
|
||||||
root[i](args);
|
root[i](args);
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue