Show More
@@ -6,18 +6,18 b'' | |||
|
6 | 6 | * mainly to be overridden in profile/static/custom/custom.js |
|
7 | 7 | * This will always be an empty file in IPython |
|
8 | 8 | * |
|
9 | * User could add any javascript in the `profile/static/custom/custom.js` file | |
|
10 | * (and should create it if it does not exist). | |
|
9 | * User could add any javascript in the `profile/static/custom/custom.js` file. | |
|
11 | 10 | * It will be executed by the ipython notebook at load time. |
|
12 | 11 | * |
|
13 | 12 | * Same thing with `profile/static/custom/custom.css` to inject custom css into the notebook. |
|
14 | 13 | * |
|
15 | * Classes and functions are available at load time and may be accessed plainly: | |
|
16 | 14 | * |
|
17 | * IPython.Cell.options_default.cm_config.extraKeys['Home'] = 'goLineLeft'; | |
|
18 | * IPython.Cell.options_default.cm_config.extraKeys['End'] = 'goLineRight'; | |
|
15 | * The object available at load time depend on the version of IPython in use. | |
|
16 | * there is no guaranties of API stability. | |
|
19 | 17 | * |
|
20 | * Instances are created later however and must be accessed using events: | |
|
18 | * The example below explain the principle, and might not be valid. | |
|
19 | * | |
|
20 | * Instances are created after the loading of this file and might need to be accessed using events: | |
|
21 | 21 | * define([ |
|
22 | 22 | * 'base/js/namespace', |
|
23 | 23 | * 'base/js/events' |
General Comments 0
You need to be logged in to leave comments.
Login now