diff options
| author | Nathan Dinsmore <nfdins@gmail.com> | 2014-06-02 15:53:12 -0400 |
|---|---|---|
| committer | Nathan Dinsmore <nfdins@gmail.com> | 2014-06-02 15:56:52 -0400 |
| commit | 2710f5b30777d356382763d0b4d30f3472e5b951 (patch) | |
| tree | df1a2015836a7ba71c05743d5d087fd9e3cb605f /lists.js | |
| parent | 6a4b4afbe98fa99623a81a89e2f6505ff5704d38 (diff) | |
| download | snap-byow-2710f5b30777d356382763d0b4d30f3472e5b951.tar.gz snap-byow-2710f5b30777d356382763d0b4d30f3472e5b951.zip | |
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; } |
