##// END OF EJS Templates
Merge pull request #6028 from takluyver/markdown-mistune...
Merge pull request #6028 from takluyver/markdown-mistune Add 'mistune' markdown parser as an option for markdown2html

File last commit:

r17201:03d0484a
r17260:fc996540 merge
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 });