mirror of
https://github.com/jupyter/notebook.git
synced 2025-04-24 14:20:54 +08:00
Updated custom.js template to reflect IPython namespace changes
This commit is contained in:
parent
a226bd2d6e
commit
904ed66bc2
@ -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'])
|
||||||
* });
|
* });
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user