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

Allow embedder to explicitly specify a URL to p5 #48

Open
toolness opened this issue Apr 16, 2016 · 1 comment
Open

Allow embedder to explicitly specify a URL to p5 #48

toolness opened this issue Apr 16, 2016 · 1 comment

Comments

@toolness
Copy link
Owner

From #45:

We might also want to make it possible to add a data attribute to the widget's <script> tag that allows the embedder to specify a self-hosted version of p5 to use, too, since we currently retrieve that over CDN. This would allow for offline use-cases.

@toolness
Copy link
Owner Author

One way to do this is to overload data-p5-version so that it accepts either a version of the form "x.y.z" or an absolute/relative URL to a specific p5 file. Hmm.

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

No branches or pull requests

1 participant