get clear_output callback properly

This commit is contained in:
MinRK 2013-10-02 13:34:13 -07:00
parent 76994d2ff8
commit 4fdc4bb3fc

View File

@ -515,7 +515,7 @@ var IPython = (function (IPython) {
if (!callbacks || !callbacks.iopub) {
return;
}
var callback = callbacks.clear_output;
var callback = callbacks.iopub.clear_output;
if (callback) {
callback(msg);
}