// leave at least 2 line with only a star on it below, or doc generation fails1/**2*3*4* Placeholder for custom user javascript5* mainly to be overridden in profile/static/custom/custom.js6* This will always be an empty file in IPython7*8* User could add any javascript in the `profile/static/custom/custom.js` file9* (and should create it if it does not exist).10* It will be executed by the ipython notebook at load time.11*12* Same thing with `profile/static/custom/custom.css` to inject custom css into the notebook.13*14* Example :15*16* Create a custom button in toolbar that execute `%qtconsole` in kernel17* and hence open a qtconsole attached to the same kernel as the current notebook18*19* $([IPython.events]).on('app_initialized.NotebookApp', function(){20* IPython.toolbar.add_buttons_group([21* {22* 'label' : 'run qtconsole',23* 'icon' : 'icon-terminal', // select your icon from http://fortawesome.github.io/Font-Awesome/icons24* 'callback': function () {25* IPython.notebook.kernel.execute('%qtconsole')26* }27* }28* // add more button here if needed.29* ]);30* });31*32* Example :33*34* Use `jQuery.getScript(url [, success(script, textStatus, jqXHR)] );`35* to load custom script into the notebook.36*37* // to load the metadata ui extension example.38* $.getScript('/static/notebook/js/celltoolbarpresets/example.js');39* // or40* // to load the metadata ui extension to control slideshow mode / reveal js for nbconvert41* $.getScript('/static/notebook/js/celltoolbarpresets/slideshow.js');42*43*44* @module IPython45* @namespace IPython46* @class customjs47* @static48*/495051