##// END OF EJS Templates
add Kernel.clear_callbacks_for_msg
MinRK -
Show More
@@ -403,9 +403,16 b' var IPython = (function (IPython) {'
403 };
403 };
404
404
405
405
406 Kernel.prototype.clear_callbacks_for_msg = function (msg_id) {
407 if (this._msg_callbacks[msg_id] !== undefined ) {
408 delete this._msg_callbacks[msg_id];
409 }
410 };
411
412
406 Kernel.prototype.set_callbacks_for_msg = function (msg_id, callbacks) {
413 Kernel.prototype.set_callbacks_for_msg = function (msg_id, callbacks) {
407 this._msg_callbacks[msg_id] = callbacks || {};
414 this._msg_callbacks[msg_id] = callbacks || {};
408 }
415 };
409
416
410
417
411 Kernel.prototype._handle_shell_reply = function (e) {
418 Kernel.prototype._handle_shell_reply = function (e) {
General Comments 0
You need to be logged in to leave comments. Login now