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