summaryrefslogtreecommitdiff
path: root/lists.js
diff options
context:
space:
mode:
authorMichael Ball <cycomachead@gmail.com>2014-06-21 11:37:25 -0700
committerMichael Ball <cycomachead@gmail.com>2014-06-21 11:37:25 -0700
commitec8b14a3758acfc852a6f02010394bd5814d7272 (patch)
tree2589fd29d40516c3a5c171a5aca6fcff80b7cff9 /lists.js
parentbf03185eb083ea4171121d25ffda3041d91be8e7 (diff)
parent7f8d5a3d1eacdc78f61da8e82ac481bbbb825938 (diff)
downloadsnap-byow-ec8b14a3758acfc852a6f02010394bd5814d7272.tar.gz
snap-byow-ec8b14a3758acfc852a6f02010394bd5814d7272.zip
Merge pull request #34 from jmoenig/master
updating cs10 branch from jmoenig 0614
Diffstat (limited to 'lists.js')
-rw-r--r--lists.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lists.js b/lists.js
index 3166bf1..ea553b0 100644
--- a/lists.js
+++ b/lists.js
@@ -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;
}