##// END OF EJS Templates
Summary of changes:...
Summary of changes: 1) IPython/core/compilerop.py: IronPython __future__ flags are non-standard, Solution try/except; comment added 2) IPython/core/completer.py: __main__ was undefined, due to local mistake in creating IronPython scope; removed this tweak 3) IPython/core/prompts.py: os.getuid() is not defined (IronPython bug; see: https://mail.python.org/pipermail/ironpython-users/2014-February/016812.html) 4) IPython/lib/inputhook.py: ctypes SystemError; comment added 5) IPython/utils/process.py and IPython/utils/_process_cli.py: adds a new _process_cli.py which would handle the processes under cli; fixed os.pathsep 6) IPython/utils/io.py: devnull opened in append mode; changed to "w" 7) New issue: IPython/external/decorator/_decorator.py: IronPython doesn't have _getframes, unless FullFrames is set to true; comment added

File last commit:

r12351:a0013bf9
r15208:301956c6
Show More
custom.js
49 lines | 1.7 KiB | application/javascript | JavascriptLexer
Matthias BUSSONNIER
document custom.js
r8740 // leave at least 2 line with only a star on it below, or doc generation fails
/**
*
*
* Placeholder for custom user javascript
Brian E. Granger
Removing one level uf subdirs in static/custom.
r10739 * mainly to be overridden in profile/static/custom/custom.js
Matthias BUSSONNIER
document custom.js
r8740 * This will always be an empty file in IPython
*
Brian E. Granger
Removing one level uf subdirs in static/custom.
r10739 * User could add any javascript in the `profile/static/custom/custom.js` file
Matthias BUSSONNIER
document custom.js
r8740 * (and should create it if it does not exist).
* It will be executed by the ipython notebook at load time.
*
Brian E. Granger
Fixing path to custom.css in comment.
r10742 * Same thing with `profile/static/custom/custom.css` to inject custom css into the notebook.
Matthias BUSSONNIER
Fix layout and add note about custom.css
r8741 *
* Example :
*
Matthias BUSSONNIER
document custom.js
r8740 * 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
*
MinRK
update example custom.js...
r12351 * $([IPython.events]).on('app_initialized.NotebookApp', function(){
Matthias BUSSONNIER
document custom.js
r8740 * IPython.toolbar.add_buttons_group([
* {
* 'label' : 'run qtconsole',
MinRK
update example custom.js...
r12351 * 'icon' : 'icon-terminal', // select your icon from http://fortawesome.github.io/Font-Awesome/icons
* 'callback': function () {
* IPython.notebook.kernel.execute('%qtconsole')
* }
Matthias BUSSONNIER
document custom.js
r8740 * }
* // add more button here if needed.
* ]);
* });
*
Matthias BUSSONNIER
Split metadataui into multiple file...
r9057 * Example :
*
* Use `jQuery.getScript(url [, success(script, textStatus, jqXHR)] );`
* to load custom script into the notebook.
*
* // to load the metadata ui extension example.
Brian E. Granger
Removing one level uf subdirs in static/custom.
r10739 * $.getScript('/static/notebook/js/celltoolbarpresets/example.js');
Matthias BUSSONNIER
Split metadataui into multiple file...
r9057 * // or
* // to load the metadata ui extension to control slideshow mode / reveal js for nbconvert
Brian E. Granger
Removing one level uf subdirs in static/custom.
r10739 * $.getScript('/static/notebook/js/celltoolbarpresets/slideshow.js');
Matthias BUSSONNIER
Split metadataui into multiple file...
r9057 *
*
Matthias BUSSONNIER
document custom.js
r8740 * @module IPython
* @namespace IPython
* @class customjs
* @static
*/