##// END OF EJS Templates
Fix imports of "modules",...
Fix imports of "modules", required after converting everything into dictionary returns.

File last commit:

r17201:03d0484a
r17202:a3cc0b0b
Show More
events.js
19 lines | 625 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.
// To trigger an event handler:
Brian Granger
Major refactoring of the Notebook, Kernel and CodeCell JavaScript....
r7168 // $([IPython.events]).trigger('event.Namespace');
Brian Granger
Major refactoring of saving, notification....
r6047 // To handle it:
// $([IPython.events]).on('event.Namespace',function () {});
Jonathan Frederic
Started work to make tree requirejs friendly.
r17189 define(['base/js/namespace'], 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
Jonathan Frederic
Started work to make tree requirejs friendly.
r17189 // Backwards compatability.
Brian Granger
Major refactoring of saving, notification....
r6047 IPython.Events = Events;
Jonathan Frederic
Fixed events
r17195
Jonathan Frederic
Return dicts instead of classes,...
r17201 return {'Events': Events};
Jonathan Frederic
Started work to make tree requirejs friendly.
r17189 });