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

Add option to change the location of require.js #726

Open
xr4dsh opened this issue Jan 1, 2024 · 1 comment
Open

Add option to change the location of require.js #726

xr4dsh opened this issue Jan 1, 2024 · 1 comment

Comments

@xr4dsh
Copy link

xr4dsh commented Jan 1, 2024

Context

At the moment there is only an option to change the URL for mathjax and it would be awesome if the URL of require.js could also be changed in the options instead of just replacing the URL in the minified file.

The current URL is: https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js

Proposal

For mathjax the option looks like this:

let config = {
mountActivateWidget: true,
mountStatusWidget: true,
useJupyterLite: true,
...
mathjaxUrl: "<url for mathjax.js>",

};
window.thebe.bootstrap(config);

Just adding the option requirejsUrl: "<url>", would be great.

Tasks and updates

No response

Copy link

welcome bot commented Jan 1, 2024

Thanks for opening your first issue here! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out EBP's Code of Conduct. Also, please try to follow the issue template as it helps other community members to contribute more effectively.

If your issue is a feature request, others may react to it, to raise its prominence (see Feature Voting).

Welcome to the EBP community! 🎉

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

No branches or pull requests

1 participant