Assume idle if late loaded.

pull/268/head
Jonathan Frederic 11 years ago
parent 0bc24c5f3f
commit a9610dc413

@ -58,7 +58,7 @@ casper.open_new_notebook = function () {
// track the IPython busy/idle state
this.thenEvaluate(function () {
require(['base/js/namespace', 'base/js/events'], function (IPython, events) {
IPython._status = 'idle';
events.on('kernel_idle.Kernel',function () {
IPython._status = 'idle';
});
@ -149,7 +149,6 @@ casper.wait_for_idle = function () {
// Waits for the notebook to idle.
this.waitFor(function () {
return this.evaluate(function () {
console.log(IPython._status);
return IPython._status == 'idle';
});
});

Loading…
Cancel
Save