Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Support es modules in js includes #2063

Merged
merged 2 commits into from
Oct 31, 2023
Merged

Support es modules in js includes #2063

merged 2 commits into from
Oct 31, 2023

Conversation

timkpaine
Copy link
Contributor

@timkpaine timkpaine commented Oct 31, 2023

Straightforward update, adds a second argument to include_js resource to add module type to script tag. Tested on a real example to confirm working, and added a simple test to ensure the right html is created (Though this test does not run in a browser).

Copy link
Contributor

@blink1073 blink1073 left a comment

Choose a reason for hiding this comment

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

LGTM, thank you!

@blink1073 blink1073 merged commit 0e290e1 into jupyter:main Oct 31, 2023
21 of 23 checks passed
@timkpaine timkpaine deleted the tkp/module branch October 31, 2023 17:32
@timkpaine
Copy link
Contributor Author

thanks @blink1073!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants