me is idiot

This commit is contained in:
2023-08-05 18:41:02 +03:00
parent 2858d685ad
commit 5629b9ab25

View File

@@ -38,7 +38,7 @@ public class Module {
if (executing) return;
executing = true;
var scope = ctx.engine().scope().globalChild();
var scope = ctx.engine().global().globalChild();
scope.define("module", true, this);
scope.define("exports", new ExportsVariable());