From 130e105ea34f92429397611ee5f01a75f25438f6 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Wed, 13 Aug 2014 17:43:49 +0200 Subject: enable Zombiefication of JS-Functions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit you can now redirect “this” in a JS function by binding it to another sprite using the OF block --- threads.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'threads.js') diff --git a/threads.js b/threads.js index 3324ac6..335b5d0 100644 --- a/threads.js +++ b/threads.js @@ -83,7 +83,7 @@ ArgLabelMorph, localize, XML_Element, hex_sha512*/ // Global stuff //////////////////////////////////////////////////////// -modules.threads = '2014-July-30'; +modules.threads = '2014-August-13'; var ThreadManager; var Process; @@ -774,7 +774,7 @@ Process.prototype.evaluate = function ( if (!context) {return null; } if (context instanceof Function) { return context.apply( - this.homeContext.receiver, + this.blockReceiver(), args.asArray().concat([this]) ); } -- cgit v1.3.1