Add qualification to mainModules.
mainModules is not in scope here (JavaScript evaluator was V8 3.22.24.10).
This commit is contained in:
parent
c9922ef7d8
commit
04ce8e34fe
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user