##// END OF EJS Templates
Fix configurability of codecell...
Fix configurability of codecell code cell where actually not configurable, this fixes that + add a convenient methods to dump the content of the configuration in the config file. this also close #7896 by defaulting closebracket to true, which is now configurable :-) It also switches the default magic highlight mode to string so that they could also be configured.

File last commit:

r17322:27b6119f
r20604:8fd5f5a9
Show More
events.js
24 lines | 696 B | application/javascript | JavascriptLexer
Jonathan Frederic
Started work to make tree requirejs friendly.
r17189 // Copyright (c) IPython Development Team.
// Distributed under the terms of the Modified BSD License.
Brian Granger
Major refactoring of saving, notification....
r6047
// Give us an object to bind all events to. This object should be created
// before all other objects so it exists when others register event handlers.
MinRK
fix docstring in events.js...
r17322 // To register an event handler:
//
MinRK
return global events from require(['base/js/events'])....
r17317 // require(['base/js/events'], function (events) {
MinRK
fix docstring in events.js...
r17322 // events.on("event.Namespace", function () { do_stuff(); });
// });
MinRK
return global events from require(['base/js/events'])....
r17317
define(['base/js/namespace', 'jquery'], function(IPython, $) {
Matthias BUSSONNIER
"use strict" in most (if not all) our javascript...
r12103 "use strict";
Brian Granger
Major refactoring of saving, notification....
r6047
var Events = function () {};
Jonathan Frederic
Use ipython namepsace for instances.
r17193
MinRK
preserve backward-compatible $([IPython.events])
r17320 var events = new Events();
MinRK
return global events from require(['base/js/events'])....
r17317
Jonathan Frederic
Started work to make tree requirejs friendly.
r17189 // Backwards compatability.
Brian Granger
Major refactoring of saving, notification....
r6047 IPython.Events = Events;
MinRK
return global events from require(['base/js/events'])....
r17317 IPython.events = events;
Jonathan Frederic
Fixed events
r17195
MinRK
return global events from require(['base/js/events'])....
r17317 return $([events]);
Jonathan Frederic
Started work to make tree requirejs friendly.
r17189 });