##// END OF EJS Templates
Merge pull request #8036 from jtyberg/8035_custom_js...
Matthias Bussonnier -
r20681:fce658d1 merge
parent child Browse files
Show More
@@ -18,7 +18,7 b''
18 * IPython.Cell.options_default.cm_config.extraKeys['End'] = 'goLineRight';
18 * IPython.Cell.options_default.cm_config.extraKeys['End'] = 'goLineRight';
19 *
19 *
20 * Instances are created later however and must be accessed using events:
20 * Instances are created later however and must be accessed using events:
21 * require([
21 * define([
22 * 'base/js/namespace',
22 * 'base/js/namespace',
23 * 'base/js/events'
23 * 'base/js/events'
24 * ], function(IPython, events) {
24 * ], function(IPython, events) {
@@ -32,7 +32,7 b''
32 * Create a custom button in toolbar that execute `%qtconsole` in kernel
32 * Create a custom button in toolbar that execute `%qtconsole` in kernel
33 * and hence open a qtconsole attached to the same kernel as the current notebook
33 * and hence open a qtconsole attached to the same kernel as the current notebook
34 *
34 *
35 * require([
35 * define([
36 * 'base/js/namespace',
36 * 'base/js/namespace',
37 * 'base/js/events'
37 * 'base/js/events'
38 * ], function(IPython, events) {
38 * ], function(IPython, events) {
@@ -55,7 +55,7 b''
55 * At the completion of the dashboard loading, load an unofficial javascript extension
55 * At the completion of the dashboard loading, load an unofficial javascript extension
56 * that is installed in profile/static/custom/
56 * that is installed in profile/static/custom/
57 *
57 *
58 * require([
58 * define([
59 * 'base/js/events'
59 * 'base/js/events'
60 * ], function(events) {
60 * ], function(events) {
61 * events.on('app_initialized.DashboardApp', function(){
61 * events.on('app_initialized.DashboardApp', function(){
General Comments 0
You need to be logged in to leave comments. Login now