[IPython-dev] Adding custom JavaScript code
Konrad Hinsen
konrad.hinsen at fastmail.net
Wed Mar 5 13:59:49 EST 2014
Doug Blank writes:
> Others will no doubt have detailed help, but here is an example (the
> drag and drop images on a notebook) that works with IPython 2.0:
>
> https://bitbucket.org/ipre/calico/src/master/notebooks/profile/static/custom/custom.js#cl-52
>
> We copy all of those files into new profiles and works fine.
Thanks, that means at least that I have a problem that not everyone has.
I tried your extensions on my installation, but it makes no difference
at all either. There's no sign that anything changes, and in the
browser console I can't see any of the definitions made in your JS
files.
> As for debugging, I use the Chrome developer tools (right-click on
> page, inspect element; select Console tab) to see errors in loading.
What I need to debug is the mechanism that is supposed to load
custom.js. I don't even know if that's in the Python or the JS part of
IPython.
Konrad.
More information about the IPython-dev
mailing list