attach comm_manager to kernel

MinRK 13 years ago
parent 5c83cd3e52
commit 9e198d2bd6

@ -68,7 +68,6 @@ function (marked) {
IPython.tooltip = new IPython.Tooltip()
IPython.notification_area = new IPython.NotificationArea('#notification_area')
IPython.notification_area.init_notification_widgets();
IPython.comm_manager = new IPython.CommManager();
IPython.layout_manager.do_resize();
@ -95,7 +94,6 @@ function (marked) {
}
IPython.notebook.set_autosave_interval(IPython.notebook.minimum_autosave_interval);
// only do this once
IPython.comm_manager.init_kernel(IPython.notebook.kernel);
$([IPython.events]).off('notebook_loaded.Notebook', first_load);
};

@ -46,6 +46,7 @@ var IPython = (function (IPython) {
this.bind_events();
this.init_iopub_handlers();
this.comm_manager = new IPython.CommManager(this);
};

Loading…
Cancel
Save