mirror of
https://github.com/jupyter/notebook.git
synced 2025-01-30 12:11:32 +08:00
Make order of operations more explicit.
This commit is contained in:
parent
d33d55bcd8
commit
fc3178e13e
@ -5,7 +5,7 @@ casper.get_notebook_server = function () {
|
||||
// Get the URL of a notebook server on which to run tests.
|
||||
var port = casper.cli.get("port");
|
||||
port = (typeof port === 'undefined') ? '8888' : port;
|
||||
return casper.cli.get("url") || 'http://127.0.0.1:' + port;
|
||||
return casper.cli.get("url") || ('http://127.0.0.1:' + port);
|
||||
};
|
||||
|
||||
casper.open_new_notebook = function () {
|
||||
|
Loading…
Reference in New Issue
Block a user