Fix ReferenceError in js tests, fixes #6542

pull/37/head
Jessica B. Hamrick 12 years ago
parent 780ceee03a
commit 60b18ad23e

@ -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