##// END OF EJS Templates
preserve backward-compatible $([IPython.events])
MinRK -
Show More
@@ -13,7 +13,7 b" define(['base/js/namespace', 'jquery'], function(IPython, $) {"
13
13
14 var Events = function () {};
14 var Events = function () {};
15
15
16 var events = $([new Events()]);
16 var events = new Events();
17
17
18 // Backwards compatability.
18 // Backwards compatability.
19 IPython.Events = Events;
19 IPython.Events = Events;
@@ -125,7 +125,6 b' require(['
125 IPython.menubar = menubar;
125 IPython.menubar = menubar;
126 IPython.toolbar = toolbar;
126 IPython.toolbar = toolbar;
127 IPython.notification_area = notification_area;
127 IPython.notification_area = notification_area;
128 IPython.events = events;
129 IPython.keyboard_manager = keyboard_manager;
128 IPython.keyboard_manager = keyboard_manager;
130 IPython.save_widget = save_widget;
129 IPython.save_widget = save_widget;
131 IPython.config = user_config;
130 IPython.config = user_config;
@@ -99,7 +99,6 b' require(['
99 IPython.session_list = session_list;
99 IPython.session_list = session_list;
100 IPython.kernel_list = kernel_list;
100 IPython.kernel_list = kernel_list;
101 IPython.login_widget = login_widget;
101 IPython.login_widget = login_widget;
102 IPython.events = events;
103
102
104 events.trigger('app_initialized.DashboardApp');
103 events.trigger('app_initialized.DashboardApp');
105
104
General Comments 0
You need to be logged in to leave comments. Login now