me is idiot
This commit is contained in:
parent
2858d685ad
commit
5629b9ab25
@ -38,7 +38,7 @@ public class Module {
|
|||||||
if (executing) return;
|
if (executing) return;
|
||||||
|
|
||||||
executing = true;
|
executing = true;
|
||||||
var scope = ctx.engine().scope().globalChild();
|
var scope = ctx.engine().global().globalChild();
|
||||||
scope.define("module", true, this);
|
scope.define("module", true, this);
|
||||||
scope.define("exports", new ExportsVariable());
|
scope.define("exports", new ExportsVariable());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user