mirror of
https://github.com/DoneJS-Runtime/quickjs-done-nextgen.git
synced 2025-01-09 17:43:15 +00:00
Update qjs.c
This commit is contained in:
parent
cb6fce1b84
commit
ecce83d642
1 changed files with 1 additions and 1 deletions
2
qjs.c
2
qjs.c
|
@ -371,7 +371,7 @@ static const JSMallocFunctions mi_mf = {
|
||||||
|
|
||||||
#define PROG_NAME "qjs"
|
#define PROG_NAME "qjs"
|
||||||
|
|
||||||
void polyfiller(JSContext ctx) {
|
void polyfiller(JSContext *ctx) {
|
||||||
//POLYFILLS FOR QJS FILES BEGIN
|
//POLYFILLS FOR QJS FILES BEGIN
|
||||||
const char *pf = "globalThis.global = globalThis;\n"
|
const char *pf = "globalThis.global = globalThis;\n"
|
||||||
"global.console.error = console.log\n"
|
"global.console.error = console.log\n"
|
||||||
|
|
Loading…
Reference in a new issue