removed superfulous logs

This commit is contained in:
Dan Ballard 2011-01-20 13:54:11 -08:00
parent 14f98cba53
commit f84a926317
1 changed files with 0 additions and 4 deletions

View File

@ -258,19 +258,15 @@ function registerFn(fnname, fn, preplace) {
function execFn(name, args) {
log("exec '" + name + "'");
root = fnreg;
names = name.split(".");
for (i=0; i< names.length; i++) {
log("looking for " + i +":"+names[i] + " in " + root.length + " nodes");
root = root[names[i]];
if (root == undefined)
return false; // ERROR, NO FN
}
i=0;
log("found functions");
while(root[i]) {
log("exec " + i);
root[i](args);
i++;
}