[IPython-dev] [ANN] IPython 3.0.0rc1

Max Linke max_linke at gmx.de
Tue Feb 17 16:43:47 EST 2015

Isn't there a guarantee about which functions are available when 
custom.js is loaded?

The custom.js installed with the rc version says that classes and 
functions are available at load time and shows an example to add a 
custom keybinding like this.


I tried to read the old behavior of 'ctrl-j' and 'ctrl-k' with:


this gives the error "IPython.Cell undefined" and now new keybindings 
are defined.

Wrapping it in a require statement like this also doesn't help

     ], function(IPython) {
         IPython.Cell.options_default.cm_config.extraKeys['ctrl-j'] =

I still get the same error that "IPython.Cell" is not defined.

best Max

On 02/16/2015 07:51 PM, Matthias Bussonnier wrote:
> 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,
> _______________________________________________
> IPython-dev mailing list
> IPython-dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/ipython-dev

More information about the IPython-dev mailing list