Merge pull request #6584 from jhamrick/fix-js-tests

Fix ReferenceError in js tests
pull/37/head
Matthias Bussonnier 12 years ago
commit 2eba8ee216

@ -50,7 +50,7 @@ casper.open_new_notebook = function () {
casper.page_loaded = function() {
// Return whether or not the kernel is running.
return this.evaluate(function() {
return IPython !== undefined &&
return typeof IPython !== "undefined" &&
IPython.page !== undefined;
});
};

Loading…
Cancel
Save