me is idiot
This commit is contained in:
@@ -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());
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user