flix global
This commit is contained in:
parent
b0cc1aa457
commit
c6c98a254c
1 changed files with 1 additions and 1 deletions
2
qjs.c
2
qjs.c
|
@ -501,7 +501,7 @@ int main(int argc, char **argv)
|
|||
" return y;\n"
|
||||
"}\n"
|
||||
"globalThis.require = require;\n"
|
||||
"globalThis.global = global;\n";
|
||||
"globalThis.global = globalThis;\n";
|
||||
eval_buf(ctx, reqPF, strlen(reqPF), "<input>", JS_EVAL_TYPE_MODULE);
|
||||
|
||||
for(i = 0; i < include_count; i++) {
|
||||
|
|
Loading…
Reference in a new issue