mirror of
https://github.com/bellard/quickjs.git
synced 2025-09-30 23:07:42 +03:00
added JSON modules and import attributes
This commit is contained in:
2
qjsc.c
2
qjsc.c
@@ -788,7 +788,7 @@ int main(int argc, char **argv)
|
||||
|
||||
/* add the module loader if necessary */
|
||||
if (feature_bitmap & (1 << FE_MODULE_LOADER)) {
|
||||
fprintf(fo, " JS_SetModuleLoaderFunc(rt, NULL, js_module_loader, NULL);\n");
|
||||
fprintf(fo, " JS_SetModuleLoaderFunc2(rt, NULL, js_module_loader, js_module_check_attributes, NULL);\n");
|
||||
}
|
||||
|
||||
fprintf(fo,
|
||||
|
Reference in New Issue
Block a user