Show More
@@ -245,7 +245,8 b' var IPython = (function (IPython) {' | |||||
245 | user_expressions : {}, |
|
245 | user_expressions : {}, | |
246 | allow_stdin : false |
|
246 | allow_stdin : false | |
247 | }; |
|
247 | }; | |
248 |
|
|
248 | $.extend(true, content, options) | |
|
249 | $([IPython.events]).trigger({type: 'Kernel.execution_request', kernel: this, content:content}); | |||
249 | var msg = this._get_msg("execute_request", content); |
|
250 | var msg = this._get_msg("execute_request", content); | |
250 | this.shell_channel.send(JSON.stringify(msg)); |
|
251 | this.shell_channel.send(JSON.stringify(msg)); | |
251 | this.set_callbacks_for_msg(msg.header.msg_id, callbacks); |
|
252 | this.set_callbacks_for_msg(msg.header.msg_id, callbacks); | |
@@ -312,6 +313,7 b' var IPython = (function (IPython) {' | |||||
312 |
|
313 | |||
313 | Kernel.prototype._handle_shell_reply = function (e) { |
|
314 | Kernel.prototype._handle_shell_reply = function (e) { | |
314 | reply = $.parseJSON(e.data); |
|
315 | reply = $.parseJSON(e.data); | |
|
316 | $([IPython.events]).trigger({type: 'Kernel.shell_reply', kernel: this, reply:reply}); | |||
315 | var header = reply.header; |
|
317 | var header = reply.header; | |
316 | var content = reply.content; |
|
318 | var content = reply.content; | |
317 | var metadata = reply.metadata; |
|
319 | var metadata = reply.metadata; |
General Comments 0
You need to be logged in to leave comments.
Login now