Show More
@@ -215,9 +215,10 b' var IPython = (function (IPython) {' | |||||
215 | }; |
|
215 | }; | |
216 | }; |
|
216 | }; | |
217 |
|
217 | |||
218 | var data = {sync_method: method, sync_data: model.toJSON()}; |
|
218 | var model_json = model.toJSON(); | |
|
219 | var data = {sync_method: method, sync_data: model_json}; | |||
219 | comm.send(data, callbacks); |
|
220 | comm.send(data, callbacks); | |
220 |
return |
|
221 | return model_json; | |
221 | } |
|
222 | } | |
222 |
|
223 | |||
223 | IPython.WidgetManager = WidgetManager; |
|
224 | IPython.WidgetManager = WidgetManager; |
General Comments 0
You need to be logged in to leave comments.
Login now