From abf99613fbd68e2dde08fa251aebcf3200145d45 Mon Sep 17 00:00:00 2001 From: Sneed Group Holder Date: Thu, 24 Oct 2024 14:29:28 -0500 Subject: [PATCH] Forgot to mention in previous commit - added a hacky polyfill --- qjs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qjs.c b/qjs.c index 7edb4f4..3c29c67 100644 --- a/qjs.c +++ b/qjs.c @@ -494,7 +494,7 @@ int main(int argc, char **argv) "globalThis.os = os;\n"; eval_buf(ctx, str, strlen(str), "", JS_EVAL_TYPE_MODULE); } - //POLYFILLS BEGIN + //POLYFILLS BEGIN const char *reqPF = "function require(x) { \n" " import { y } from `String(x)` \n" " return y \n"