diff options
| author | Jens Mönig <jens@moenig.org> | 2014-06-04 12:44:33 +0200 |
|---|---|---|
| committer | Jens Mönig <jens@moenig.org> | 2014-06-04 12:44:33 +0200 |
| commit | 499980cbb4a695e6cc9e2cdd6497bfc597486de3 (patch) | |
| tree | 95e601dc3b2eb441e4a73a2cbfcde5b9a9cdd3d8 /lists.js | |
| parent | cca2f591bd73ebef2aefff8619eae8ea29f8c89d (diff) | |
| parent | 2710f5b30777d356382763d0b4d30f3472e5b951 (diff) | |
| download | snap-yow-499980cbb4a695e6cc9e2cdd6497bfc597486de3.tar.gz snap-yow-499980cbb4a695e6cc9e2cdd6497bfc597486de3.zip | |
Merge pull request #468 from nathan/fix-contains
Fixed the equals block when one list is linked and the other is not
Diffstat (limited to 'lists.js')
| -rw-r--r-- | lists.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -305,7 +305,7 @@ List.prototype.equalTo = function (other) { if (this.length() !== other.length()) { return false; } - for (i = 0; i < this.length(); i += 1) { + for (i = 1; i <= this.length(); i += 1) { if (!snapEquals(this.at(i), other.at(i))) { return false; } |
