jupyter-js-filebrowser
Advanced tools
Comparing version 0.4.4 to 0.4.5
@@ -17,3 +17,3 @@ import { IContentsModel } from 'jupyter-js-services'; | ||
*/ | ||
static widgetFactory(): Widget; | ||
static widgetFactory(path: string): Widget; | ||
/** | ||
@@ -20,0 +20,0 @@ * Construct a new file browser. |
@@ -75,3 +75,3 @@ // Copyright (c) Jupyter Development Team. | ||
*/ | ||
FileBrowserWidget.widgetFactory = function () { | ||
FileBrowserWidget.widgetFactory = function (path) { | ||
return void 0; | ||
@@ -78,0 +78,0 @@ }; |
@@ -687,3 +687,5 @@ // Copyright (c) Jupyter Development Team. | ||
if (item.type !== 'directory') { | ||
this._drag.mimeData.setData(FACTORY_MIME, index_1.FileBrowserWidget.widgetFactory); | ||
this._drag.mimeData.setData(FACTORY_MIME, function () { | ||
return index_1.FileBrowserWidget.widgetFactory(item.path); | ||
}); | ||
} | ||
@@ -690,0 +692,0 @@ } |
{ | ||
"name": "jupyter-js-filebrowser", | ||
"version": "0.4.4", | ||
"version": "0.4.5", | ||
"description": "File browser widget for Jupyter", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
113308
3232