@jupyterlab/services
Advanced tools
Comparing version 0.36.0 to 0.36.1
@@ -165,6 +165,4 @@ // Copyright (c) Jupyter Development Team. | ||
} | ||
if (this._path !== model.notebook.path) { | ||
this.pathChanged.emit(model.notebook.path); | ||
} | ||
this._path = model.notebook.path; | ||
var oldPath = this._path; | ||
var newPath = this._path = model.notebook.path; | ||
if (this._kernel.isDisposed || model.kernel.id !== this._kernel.id) { | ||
@@ -176,4 +174,10 @@ var options = this._getKernelOptions(); | ||
_this.kernelChanged.emit(kernel); | ||
if (oldPath !== newPath) { | ||
_this.pathChanged.emit(newPath); | ||
} | ||
}); | ||
} | ||
else if (oldPath !== newPath) { | ||
this.pathChanged.emit(newPath); | ||
} | ||
return Promise.resolve(void 0); | ||
@@ -180,0 +184,0 @@ }; |
{ | ||
"name": "@jupyterlab/services", | ||
"version": "0.36.0", | ||
"version": "0.36.1", | ||
"description": "Client APIs for the Jupyter services REST APIs", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
741910
21716