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