summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2014-07-18 07:44:26 +0200
committerjmoenig <jens@moenig.org>2014-07-18 07:44:26 +0200
commitc1d5910f33584837a5c33c98f1e750789e6221fc (patch)
treed4516d4be3cae8b6f49652293383bdf3e6e03b23
parentd88da36762a1e9c05dde8caa7e6f584840eee273 (diff)
downloadsnap-c1d5910f33584837a5c33c98f1e750789e6221fc.tar.gz
snap-c1d5910f33584837a5c33c98f1e750789e6221fc.zip
list op fixes, thanks, Brian!
-rw-r--r--blocks.js2
-rw-r--r--gui.js2
-rw-r--r--lists.js6
-rw-r--r--locale.js2
-rw-r--r--objects.js2
5 files changed, 7 insertions, 7 deletions
diff --git a/blocks.js b/blocks.js
index b45f7e6..ae3a42d 100644
--- a/blocks.js
+++ b/blocks.js
@@ -155,7 +155,7 @@ DialogBoxMorph, BlockInputFragmentMorph, PrototypeHatBlockMorph, Costume*/
// Global stuff ////////////////////////////////////////////////////////
-modules.blocks = '2014-July-14';
+modules.blocks = '2014-July-17';
var SyntaxElementMorph;
diff --git a/gui.js b/gui.js
index 2bdcb56..208c6c7 100644
--- a/gui.js
+++ b/gui.js
@@ -69,7 +69,7 @@ SpeechBubbleMorph*/
// Global stuff ////////////////////////////////////////////////////////
-modules.gui = '2014-July-14';
+modules.gui = '2014-July-17';
// Declarations
diff --git a/lists.js b/lists.js
index c5a7cc6..028827a 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-July-14';
+modules.lists = '2014-July-17';
var List;
var ListWatcherMorph;
@@ -221,7 +221,7 @@ List.prototype.at = function (index) {
List.prototype.contains = function (element) {
var pair = this;
while (pair.isLinked) {
- if (snapEquals(this.first, element)) {
+ if (snapEquals(pair.first, element)) {
return true;
}
pair = pair.rest;
@@ -247,7 +247,7 @@ List.prototype.asText = function () {
pair = this,
i;
while (pair.isLinked) {
- element = this.first;
+ element = pair.first;
if (element instanceof List) {
result = result.concat(element.asText());
} else {
diff --git a/locale.js b/locale.js
index eac17c0..9d50924 100644
--- a/locale.js
+++ b/locale.js
@@ -42,7 +42,7 @@
/*global modules, contains*/
-modules.locale = '2014-July-14';
+modules.locale = '2014-July-17';
// Global stuff
diff --git a/objects.js b/objects.js
index 6a0d6e0..e395369 100644
--- a/objects.js
+++ b/objects.js
@@ -125,7 +125,7 @@ PrototypeHatBlockMorph*/
// Global stuff ////////////////////////////////////////////////////////
-modules.objects = '2014-July-14';
+modules.objects = '2014-July-17';
var SpriteMorph;
var StageMorph;