In the sim.js lib at line 462-465 you have this function definition for Sim.Object
Sim.Object.prototype.update = function()
{
this.updateChildren();
}
Later in line 505 this function definition starts defining Sim.Object.prototype.update a second time
Sim.Object.prototype.update = function()
{
var i, len;
len = this.children.length;
for (i = 0; i < len; i++)
{
this.children[i].update();
}
}
I guess the first definition gets overwritten and so the first definition simple gets ignored and so no errors derive. updateChildren() is nowhere defined.
This could be cleaned up in a later revision.
In the
sim.jslib at line 462-465 you have this function definition forSim.ObjectLater in line 505 this function definition starts defining
Sim.Object.prototype.updatea second timeI guess the first definition gets overwritten and so the first definition simple gets ignored and so no errors derive.
updateChildren()is nowhere defined.This could be cleaned up in a later revision.