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! --- threads.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'threads.js') 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