diff options
| author | Michael Ball <cycomachead@gmail.com> | 2014-06-21 11:37:25 -0700 |
|---|---|---|
| committer | Michael Ball <cycomachead@gmail.com> | 2014-06-21 11:37:25 -0700 |
| commit | ec8b14a3758acfc852a6f02010394bd5814d7272 (patch) | |
| tree | 2589fd29d40516c3a5c171a5aca6fcff80b7cff9 /lists.js | |
| parent | bf03185eb083ea4171121d25ffda3041d91be8e7 (diff) | |
| parent | 7f8d5a3d1eacdc78f61da8e82ac481bbbb825938 (diff) | |
| download | snap-ec8b14a3758acfc852a6f02010394bd5814d7272.tar.gz snap-ec8b14a3758acfc852a6f02010394bd5814d7272.zip | |
Merge pull request #34 from jmoenig/master
updating cs10 branch from jmoenig 0614
Diffstat (limited to 'lists.js')
| -rw-r--r-- | lists.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -61,7 +61,7 @@ PushButtonMorph, SyntaxElementMorph, Color, Point, WatcherMorph, StringMorph, SpriteMorph, ScrollFrameMorph, CellMorph, ArrowMorph, MenuMorph, snapEquals, Morph, isNil, localize, MorphicPreferences*/ -modules.lists = '2014-January-09'; +modules.lists = '2014-Jun-04'; var List; var ListWatcherMorph; @@ -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; } |
