From 04ce8e34fe892eed1e8c85998a3fff109deb32d6 Mon Sep 17 00:00:00 2001 From: Marc Burns Date: Tue, 25 Feb 2014 16:43:48 -0500 Subject: [PATCH] Add qualification to mainModules. mainModules is not in scope here (JavaScript evaluator was V8 3.22.24.10). --- whalesong/js-assembler/runtime-src/runtime.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/whalesong/js-assembler/runtime-src/runtime.js b/whalesong/js-assembler/runtime-src/runtime.js index 6249729..572ad42 100644 --- a/whalesong/js-assembler/runtime-src/runtime.js +++ b/whalesong/js-assembler/runtime-src/runtime.js @@ -908,7 +908,7 @@ var i; machine = machine || runtime.currentMachine; for (i = 0; i < machine.mainModules.length; i++) { - var ns = machine.modules[mainModules[i]].getExternalExports(); + var ns = machine.modules[machine.mainModules[i]].getExternalExports(); if(ns.hasKey(name)) { return ns.get(name); }