Custom Block Evaluation Scope fix

minor glitch which affected "VEE"
pull/3/merge
jmoenig 2013-09-16 11:58:19 +02:00
rodzic a42ea9fe06
commit 72259dcae0
1 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -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,