##// END OF EJS Templates
attach comm_manager to kernel
MinRK -
Show More
@@ -68,7 +68,6 b' function (marked) {'
68 IPython.tooltip = new IPython.Tooltip()
68 IPython.tooltip = new IPython.Tooltip()
69 IPython.notification_area = new IPython.NotificationArea('#notification_area')
69 IPython.notification_area = new IPython.NotificationArea('#notification_area')
70 IPython.notification_area.init_notification_widgets();
70 IPython.notification_area.init_notification_widgets();
71 IPython.comm_manager = new IPython.CommManager();
72
71
73 IPython.layout_manager.do_resize();
72 IPython.layout_manager.do_resize();
74
73
@@ -95,7 +94,6 b' function (marked) {'
95 }
94 }
96 IPython.notebook.set_autosave_interval(IPython.notebook.minimum_autosave_interval);
95 IPython.notebook.set_autosave_interval(IPython.notebook.minimum_autosave_interval);
97 // only do this once
96 // only do this once
98 IPython.comm_manager.init_kernel(IPython.notebook.kernel);
99 $([IPython.events]).off('notebook_loaded.Notebook', first_load);
97 $([IPython.events]).off('notebook_loaded.Notebook', first_load);
100 };
98 };
101
99
@@ -46,6 +46,7 b' var IPython = (function (IPython) {'
46
46
47 this.bind_events();
47 this.bind_events();
48 this.init_iopub_handlers();
48 this.init_iopub_handlers();
49 this.comm_manager = new IPython.CommManager(this);
49 };
50 };
50
51
51
52
General Comments 0
You need to be logged in to leave comments. Login now