From 286d826696221cf10b4d17f775e35af92a45fad7 Mon Sep 17 00:00:00 2001 From: The Ghost of FOSS' Future <163201376+sneedgroup-holder@users.noreply.github.com> Date: Thu, 9 Jan 2025 02:02:40 +0000 Subject: [PATCH] update qjs.c --- qjs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qjs.c b/qjs.c index c282377..b752303 100644 --- a/qjs.c +++ b/qjs.c @@ -641,7 +641,7 @@ start: "if (typeof std !== 'undefined') {\n" " globalThis.urlGet = std.urlGet;\n" " globalThis.loadFile = std.loadFile;\n" - " globalThis.doneRequire = std.loadFile;\n" + " globalThis.doneRequire = std.loadScript;\n" " globalThis.printf = console.log;\n" " globalThis.evalFile = std.loadScript;\n" " globalThis.require = (moduleSpecifier) => import(moduleSpecifier).then(mod => mod.default || mod);\n"