ipython/ipython — pull request #6119 by minrk (2014-07-11 21:57:18+00:00)
Title: return global events from require(['base/js/events']).

In master, it is impossible to register with IPython events in custom.js without setting timeouts because the events doesn't exist yet.

You can now load events in custom.js with:

```javascript
require(["base/js/events"], function (events) {

events.on("notebook_loaded.Notebook", function () {
console.log("The notebook finished loading!");
});
});
```