mirror of
https://github.com/jupyter/notebook.git
synced 2025-03-31 13:40:29 +08:00
Merge pull request #6584 from jhamrick/fix-js-tests
Fix ReferenceError in js tests
This commit is contained in:
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…
x
Reference in New Issue
Block a user