##// END OF EJS Templates
Avoid duplicate extension in nbconvert...
Avoid duplicate extension in nbconvert nbconvert --to notebook --output Output.ipynb would write Output.ipynb.ipynb before this PR

File last commit:

r17201:03d0484a
r17309:9010f296
Show More
events.js
19 lines | 625 B | application/javascript | JavascriptLexer
// Copyright (c) IPython Development Team.
// Distributed under the terms of the Modified BSD License.
// 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:
// $([IPython.events]).trigger('event.Namespace');
// To handle it:
// $([IPython.events]).on('event.Namespace',function () {});
define(['base/js/namespace'], function(IPython) {
"use strict";
var Events = function () {};
// Backwards compatability.
IPython.Events = Events;
return {'Events': Events};
});