summaryrefslogtreecommitdiff
path: root/threads.js
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2014-08-13 17:43:49 +0200
committerjmoenig <jens@moenig.org>2014-08-13 17:43:49 +0200
commit130e105ea34f92429397611ee5f01a75f25438f6 (patch)
tree5121a80726efe360b98cbb36023ae2be352e86e8 /threads.js
parent0333925e916acc47c25cdcfec0c3be3d695a825f (diff)
downloadsnap-byow-130e105ea34f92429397611ee5f01a75f25438f6.tar.gz
snap-byow-130e105ea34f92429397611ee5f01a75f25438f6.zip
enable Zombiefication of JS-Functions
you can now redirect “this” in a JS function by binding it to another sprite using the OF block
Diffstat (limited to 'threads.js')
-rw-r--r--threads.js4
1 files changed, 2 insertions, 2 deletions
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])
);
}