Skip to content
This repository has been archived by the owner on Feb 16, 2023. It is now read-only.

Commit

Permalink
Merge pull request #249 from jtpio/filebrowser-plugin
Browse files Browse the repository at this point in the history
Hoist the filebrowser factory plugin
  • Loading branch information
jtpio authored Oct 12, 2021
2 parents 9728d15 + 6c1129c commit a901cb1
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions app/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ async function main() {
['@jupyterlab/docmanager-extension:plugin'].includes(id)
),
require('@jupyterlab/docprovider-extension'),
require('@jupyterlab/filebrowser-extension').default.filter(({ id }) =>
['@jupyterlab/filebrowser-extension:factory'].includes(id)
),
require('@jupyterlab/fileeditor-extension').default.filter(({ id }) =>
['@jupyterlab/fileeditor-extension:plugin'].includes(id)
),
Expand Down Expand Up @@ -156,7 +159,6 @@ async function main() {
[
'@jupyterlab/filebrowser-extension:browser',
'@jupyterlab/filebrowser-extension:download',
'@jupyterlab/filebrowser-extension:factory',
'@jupyterlab/filebrowser-extension:file-upload-status',
'@jupyterlab/filebrowser-extension:open-with',
'@jupyterlab/filebrowser-extension:share-file'
Expand Down Expand Up @@ -201,10 +203,7 @@ async function main() {
['@jupyterlab/completer-extension:files'].includes(id)
),
require('@jupyterlab/filebrowser-extension').default.filter(({ id }) =>
[
'@jupyterlab/filebrowser-extension:browser',
'@jupyterlab/filebrowser-extension:factory'
].includes(id)
['@jupyterlab/filebrowser-extension:browser'].includes(id)
)
]);
break;
Expand Down

0 comments on commit a901cb1

Please sign in to comment.