@jupyterlab/filebrowser
Advanced tools
Comparing version 0.8.2 to 0.8.3
@@ -354,3 +354,3 @@ "use strict"; | ||
this._isCut = false; | ||
return; | ||
return Promise.resolve(undefined); | ||
} | ||
@@ -377,3 +377,5 @@ var basePath = this._model.path; | ||
this.removeClass(CLIPBOARD_CLASS); | ||
return Promise.all(promises).catch(function (error) { | ||
return Promise.all(promises).then(function () { | ||
return undefined; | ||
}).catch(function (error) { | ||
utils.showErrorMessage('Paste Error', error); | ||
@@ -427,3 +429,5 @@ }); | ||
}); | ||
return Promise.all(promises).catch(function (error) { | ||
return Promise.all(promises).then(function () { | ||
return undefined; | ||
}).catch(function (error) { | ||
utils.showErrorMessage('Duplicate file', error); | ||
@@ -460,3 +464,5 @@ }); | ||
}); | ||
return Promise.all(promises).catch(function (error) { | ||
return Promise.all(promises).then(function () { | ||
return undefined; | ||
}).catch(function (error) { | ||
utils.showErrorMessage('Shutdown kernel', error); | ||
@@ -865,3 +871,3 @@ }); | ||
switch (event.keyCode) { | ||
case 13: | ||
case 13:// Enter | ||
// Do nothing if any modifier keys are pressed. | ||
@@ -892,3 +898,3 @@ if (event.ctrlKey || event.shiftKey || event.altKey || event.metaKey) { | ||
break; | ||
case 38: | ||
case 38:// Up arrow | ||
this.selectPrevious(event.shiftKey); | ||
@@ -898,3 +904,3 @@ event.stopPropagation(); | ||
break; | ||
case 40: | ||
case 40:// Down arrow | ||
this.selectNext(event.shiftKey); | ||
@@ -1235,3 +1241,3 @@ event.stopPropagation(); | ||
return Private.doRename(nameNode, this._editNode).then(function (newName) { | ||
if (newName === original) { | ||
if (!newName || newName === original) { | ||
_this._inRename = false; | ||
@@ -1614,3 +1620,3 @@ return original; | ||
switch (event.keyCode) { | ||
case 13: | ||
case 13:// Enter | ||
event.stopPropagation(); | ||
@@ -1620,3 +1626,3 @@ event.preventDefault(); | ||
break; | ||
case 27: | ||
case 27:// Escape | ||
event.stopPropagation(); | ||
@@ -1627,3 +1633,3 @@ event.preventDefault(); | ||
break; | ||
case 38: | ||
case 38:// Up arrow | ||
event.stopPropagation(); | ||
@@ -1635,3 +1641,3 @@ event.preventDefault(); | ||
break; | ||
case 40: | ||
case 40:// Down arrow | ||
event.stopPropagation(); | ||
@@ -1638,0 +1644,0 @@ event.preventDefault(); |
{ | ||
"name": "@jupyterlab/filebrowser", | ||
"version": "0.8.2", | ||
"version": "0.8.3", | ||
"description": "JupyterLab - FileBrowser Widget", | ||
@@ -16,7 +16,7 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@jupyterlab/apputils": "^0.8.1", | ||
"@jupyterlab/coreutils": "^0.8.0", | ||
"@jupyterlab/docmanager": "^0.8.1", | ||
"@jupyterlab/docregistry": "^0.8.1", | ||
"@jupyterlab/services": "^0.47.0", | ||
"@jupyterlab/apputils": "^0.8.2", | ||
"@jupyterlab/coreutils": "^0.8.1", | ||
"@jupyterlab/docmanager": "^0.8.2", | ||
"@jupyterlab/docregistry": "^0.8.2", | ||
"@jupyterlab/services": "^0.47.1", | ||
"@phosphor/algorithm": "^1.1.1", | ||
@@ -34,3 +34,3 @@ "@phosphor/commands": "^1.3.0", | ||
"rimraf": "^2.5.2", | ||
"typescript": "~2.3.1" | ||
"typescript": "~2.4.1" | ||
}, | ||
@@ -37,0 +37,0 @@ "scripts": { |
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
140735
4107