summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2014-07-27 15:06:50 +0200
committerjmoenig <jens@moenig.org>2014-07-27 15:06:50 +0200
commite362730a0ce8a062cb29f9f306192394ad9d37e5 (patch)
treec9cd75877f595e46b6a89440afc5f3e25479f7b1
parent3647824d52ceca5c9662878a425666c2ca59b0a0 (diff)
downloadsnap-e362730a0ce8a062cb29f9f306192394ad9d37e5.tar.gz
snap-e362730a0ce8a062cb29f9f306192394ad9d37e5.zip
JS function tweak, thank, @nathan!
-rw-r--r--lists.js2
-rw-r--r--threads.js4
2 files changed, 3 insertions, 3 deletions
diff --git a/lists.js b/lists.js
index 1cd45e2..dfd8b1e 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-18';
+modules.lists = '2014-July-27';
var List;
var ListWatcherMorph;
diff --git a/threads.js b/threads.js
index d72d36a..da96207 100644
--- a/threads.js
+++ b/threads.js
@@ -83,7 +83,7 @@ ArgLabelMorph, localize, XML_Element, hex_sha512*/
// Global stuff ////////////////////////////////////////////////////////
-modules.threads = '2014-July-25';
+modules.threads = '2014-July-27';
var ThreadManager;
var Process;
@@ -743,7 +743,7 @@ Process.prototype.reifyPredicate = function (topBlock, parameterNames) {
Process.prototype.reportJSFunction = function (parmNames, body) {
return Function.apply(
- Object.create(Function.prototype),
+ Object.create(null),
parmNames.asArray().concat([body])
);
};