diff --git a/IPython/html/static/custom/custom.js b/IPython/html/static/custom/custom.js index 4be58ae..05aa9ae 100644 --- a/IPython/html/static/custom/custom.js +++ b/IPython/html/static/custom/custom.js @@ -6,18 +6,18 @@ * mainly to be overridden in profile/static/custom/custom.js * This will always be an empty file in IPython * - * User could add any javascript in the `profile/static/custom/custom.js` file - * (and should create it if it does not exist). + * User could add any javascript in the `profile/static/custom/custom.js` file. * It will be executed by the ipython notebook at load time. * * Same thing with `profile/static/custom/custom.css` to inject custom css into the notebook. * - * Classes and functions are available at load time and may be accessed plainly: * - * IPython.Cell.options_default.cm_config.extraKeys['Home'] = 'goLineLeft'; - * IPython.Cell.options_default.cm_config.extraKeys['End'] = 'goLineRight'; + * The object available at load time depend on the version of IPython in use. + * there is no guaranties of API stability. * - * Instances are created later however and must be accessed using events: + * The example below explain the principle, and might not be valid. + * + * Instances are created after the loading of this file and might need to be accessed using events: * define([ * 'base/js/namespace', * 'base/js/events'