Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Make qjs --std switch include bjson module #640

Merged
merged 1 commit into from
Oct 29, 2024

Conversation

bnoordhuis
Copy link
Contributor

No description provided.

qjs.c Outdated
@@ -522,8 +522,11 @@ int main(int argc, char **argv)

/* make 'std' and 'os' visible to non module code */
if (load_std) {
const char *str = "import * as std from 'std';\n"
const char *str =
"import * as bjson from 'bjson';\n"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ops, I forgot to update the imports here. Mind changing them to qjs:xxx while we're at it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was wondering about that. I'll do that.

@bnoordhuis bnoordhuis merged commit df81c99 into quickjs-ng:master Oct 29, 2024
47 checks passed
@bnoordhuis bnoordhuis deleted the bjson branch October 29, 2024 21:56
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants