You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was trying to view a notebook that used a javascript library (jstree) that had a dependency on jquery. When I load jstree via require, it goes looking for jquery, but because jquery is not defined in the require config, require tries (and fails) to load jquery from the wrong URL. I can work around this by manually calling require.config to define jquery, but it would seem better if nbviewer set this config with the correct URL from where jquery is already being loaded. Here's an example notebook illustrating the use case and workaround.
The text was updated successfully, but these errors were encountered:
I was trying to view a notebook that used a javascript library (jstree) that had a dependency on jquery. When I load jstree via require, it goes looking for jquery, but because jquery is not defined in the require config, require tries (and fails) to load jquery from the wrong URL. I can work around this by manually calling require.config to define jquery, but it would seem better if nbviewer set this config with the correct URL from where jquery is already being loaded. Here's an example notebook illustrating the use case and workaround.
The text was updated successfully, but these errors were encountered: