Forgot to mention in previous commit - added a hacky polyfill
This commit is contained in:
parent
51ec4ed20b
commit
abf99613fb
1 changed files with 1 additions and 1 deletions
2
qjs.c
2
qjs.c
|
@ -494,7 +494,7 @@ int main(int argc, char **argv)
|
|||
"globalThis.os = os;\n";
|
||||
eval_buf(ctx, str, strlen(str), "<input>", JS_EVAL_TYPE_MODULE);
|
||||
}
|
||||
//POLYFILLS BEGIN
|
||||
//POLYFILLS BEGIN
|
||||
const char *reqPF = "function require(x) { \n"
|
||||
" import { y } from `String(x)` \n"
|
||||
" return y \n"
|
||||
|
|
Loading…
Reference in a new issue