summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2013-09-16 11:58:19 +0200
committerjmoenig <jens@moenig.org>2013-09-16 11:58:19 +0200
commit72259dcae04ce307d639e811b01690d7cc133a93 (patch)
tree1451db3e5b4c47127f91d4b77f1630042fc921cb
parenta42ea9fe0667f0008c34e1835dc3b008d1a2ea4c (diff)
downloadsnap-yow-72259dcae04ce307d639e811b01690d7cc133a93.tar.gz
snap-yow-72259dcae04ce307d639e811b01690d7cc133a93.zip
Custom Block Evaluation Scope fix
minor glitch which affected "VEE"
-rw-r--r--threads.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/threads.js b/threads.js
index ab36e87..b8acc7e 100644
--- a/threads.js
+++ b/threads.js
@@ -83,7 +83,7 @@ ArgLabelMorph, localize, XML_Element, hex_sha512*/
// Global stuff ////////////////////////////////////////////////////////
-modules.threads = '2013-August-12';
+modules.threads = '2013-September-16';
var ThreadManager;
var Process;
@@ -990,7 +990,8 @@ Process.prototype.evaluateCustomBlock = function () {
if (!context) {return null; }
outer = new Context();
outer.receiver = this.context.receiver; // || this.homeContext.receiver;
- outer.variables.parentFrame = outer.receiver.variables;
+ outer.variables.parentFrame = outer.receiver ?
+ outer.receiver.variables : null;
runnable = new Context(
this.context.parentContext,