Show More
@@ -1315,7 +1315,6 var IPython = (function (IPython) { | |||
|
1315 | 1315 | */ |
|
1316 | 1316 | Notebook.prototype._session_started = function(){ |
|
1317 | 1317 | this.kernel = this.session.kernel; |
|
1318 | IPython.widget_manager.attach_comm_manager(this.kernel.comm_manager); | |
|
1319 | 1318 | var ncells = this.ncells(); |
|
1320 | 1319 | for (var i=0; i<ncells; i++) { |
|
1321 | 1320 | var cell = this.get_cell(i); |
@@ -47,6 +47,9 var IPython = (function (IPython) { | |||
|
47 | 47 | this.bind_events(); |
|
48 | 48 | this.init_iopub_handlers(); |
|
49 | 49 | this.comm_manager = new IPython.CommManager(this); |
|
50 | // TODO: make the comm manager an arg to the widget manager initialization | |
|
51 | this.widget_manager = new IPython.WidgetManager(); | |
|
52 | this.widget_manager.attach_comm_manager(this.comm_manager); | |
|
50 | 53 | }; |
|
51 | 54 | |
|
52 | 55 |
General Comments 0
You need to be logged in to leave comments.
Login now