Add kernel restart button to toolbar.

This commit is contained in:
Brian E. Granger 2013-12-07 15:02:09 -08:00
parent 953da90a98
commit 5786602300

View File

@ -110,6 +110,14 @@ var IPython = (function (IPython) {
callback : function () {
IPython.notebook.session.interrupt_kernel();
}
},
{
id : 'repeat_b',
label : 'Restart Kernel',
icon : 'icon-repeat',
callback : function () {
IPython.notebook.restart_kernel();
}
}
],'run_int');
};