Updated custom.js template to reflect IPython namespace changes

This commit is contained in:
Jonathan Frederic 2014-07-05 07:47:21 -07:00
parent a226bd2d6e
commit 904ed66bc2

View File

@ -17,7 +17,7 @@
* Create a custom button in toolbar that execute `%qtconsole` in kernel * Create a custom button in toolbar that execute `%qtconsole` in kernel
* and hence open a qtconsole attached to the same kernel as the current notebook * and hence open a qtconsole attached to the same kernel as the current notebook
* *
* $([IPython.events]).on('app_initialized.NotebookApp', function(){ * IPython.events.on('app_initialized.NotebookApp', function(){
* IPython.toolbar.add_buttons_group([ * IPython.toolbar.add_buttons_group([
* { * {
* 'label' : 'run qtconsole', * 'label' : 'run qtconsole',
@ -35,7 +35,7 @@
* At the completion of the dashboard loading, load an unofficial javascript extension * At the completion of the dashboard loading, load an unofficial javascript extension
* that is installed in profile/static/custom/ * that is installed in profile/static/custom/
* *
* $([IPython.events]).on('app_initialized.DashboardApp', function(){ * IPython.events.on('app_initialized.DashboardApp', function(){
* require(['custom/unofficial_extension.js']) * require(['custom/unofficial_extension.js'])
* }); * });
* *