Fix a bug Base.equals(), causing endless recursion.

Closes #148.
This commit is contained in:
Jürg Lehni 2012-12-17 21:49:48 +01:00
parent 846744d301
commit 9fb48d1dd4

View file

@ -70,7 +70,7 @@ this.Base = Base.inject(/** @lends Base# */{
if (obj1.length !== obj2.length)
return false;
for (var i = 0, l = obj1.length; i < l; i++) {
if (!Base.equals(obj1, obj2))
if (!Base.equals(obj1[i], obj2[i]))
return false;
}
return true;