diff options
| author | jmoenig <jens@moenig.org> | 2014-08-13 17:43:49 +0200 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2014-08-13 17:43:49 +0200 |
| commit | 130e105ea34f92429397611ee5f01a75f25438f6 (patch) | |
| tree | 5121a80726efe360b98cbb36023ae2be352e86e8 /threads.js | |
| parent | 0333925e916acc47c25cdcfec0c3be3d695a825f (diff) | |
| download | snap-yow-130e105ea34f92429397611ee5f01a75f25438f6.tar.gz snap-yow-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.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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]) ); } |
