Topic: rev 103: this.children.each is not a function error when adding a node
Hi,
I've upgraded my Mifjs tree copy to rev 103. Now, whenever I add new nodes, I get the following error:
this.children.each is not a function Line 388
The vicinity around line 388 is:
recursive: function(fn, args){
args=$splat(args);
if(fn.apply(this, args)!==false){
this.children.each(function(node){
if(node.recursive(fn, args)===false){
return false;
}
});
}
return this;
}What gives?
Thanks!