Show More
@@ -3,10 +3,11 | |||
|
3 | 3 | |
|
4 | 4 | // Give us an object to bind all events to. This object should be created |
|
5 | 5 | // before all other objects so it exists when others register event handlers. |
|
6 |
// To |
|
|
6 | // To register an event handler: | |
|
7 | // | |
|
7 | 8 | // require(['base/js/events'], function (events) { |
|
8 | 9 | // events.on("event.Namespace", function () {do_stuff(); }); |
|
9 | // }) | |
|
10 | // }); | |
|
10 | 11 | |
|
11 | 12 | define(['base/js/namespace', 'jquery'], function(IPython, $) { |
|
12 | 13 | "use strict"; |
General Comments 0
You need to be logged in to leave comments.
Login now