[IPython-dev] [ANN] IPython 3.0.0rc1

Matthias Bussonnier bussonniermatthias at gmail.com
Mon Feb 16 13:51:30 EST 2015


Instead or in supplement of listening to events, you might want to 
use requires to be sure the dependencies are loaded in the right order. 

Cheers, 
-- 
M


Le 16 févr. 2015 à 10:37, Thomas Kluyver <takowl at gmail.com> a écrit :

> On 16 February 2015 at 01:44, Max Linke <max_linke at gmx.de> wrote:
> Is there a document describing how to migrate my custom.js to 3.0?
> I currently use 'IPython.load_extensions()' in my custom.js which
> produces the error 'TypeError: IPython.load_extensions() is not a
> function'. Has this function been deprecated or replaced recently?
> 
> It's still the public API for loading extensions, but it might not have been loaded when your custom.js is run. I see you currently have a call to load_extensions() in your custom.js outside any event handler - if you wrap that in:
> 
> $([IPython.events]).on('app_initialized.NotebookApp', function(){ ... });
> 
> does it work?
> 
> Thomas
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150216/23c28fbf/attachment.html>


More information about the IPython-dev mailing list