From e362730a0ce8a062cb29f9f306192394ad9d37e5 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Sun, 27 Jul 2014 15:06:50 +0200 Subject: JS function tweak, thank, @nathan! --- lists.js | 2 +- threads.js | 4 ++-- 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]) ); }; -- cgit v1.3.1