Skip to content

Conversation

sbrunk
Copy link
Collaborator

@sbrunk sbrunk commented Nov 22, 2018

Yet another small JS fix.

Without defining a url for jQuery, rendering plotly charts doesn't work in nbviewer, because requirejs tries to load jQuery locally and fails.

You can see this in action here (check the browser console to see the errors):
https://nbviewer.jupyter.org/github/sbrunk/almond-examples/blob/master/plotly_examples.ipynb

In contrast the notebook using the fixed version nicely renders our charts:
https://nbviewer.jupyter.org/github/sbrunk/almond-examples/blob/jquery-fix/plotly_examples.ipynb

@alexarchambault
Copy link
Owner

Awesome!

@alexarchambault alexarchambault merged commit 0328584 into alexarchambault:master Nov 23, 2018
@sbrunk sbrunk deleted the add-jquery-dep branch November 23, 2018 10:22
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

Successfully merging this pull request may close these issues.

2 participants