Update more reference snapshots
@ -197,15 +197,15 @@ const opener: JupyterFrontEndPlugin<void> = {
|
||||
|
||||
const file = decodeURIComponent(path);
|
||||
const ext = PathExt.extname(file);
|
||||
|
||||
// TODO: fix upstream?
|
||||
await settingRegistry?.load('@jupyterlab/notebook-extension:panel');
|
||||
|
||||
await new Promise(async () => {
|
||||
// TODO: get factory from file type instead?
|
||||
if (ext === '.ipynb') {
|
||||
// TODO: fix upstream?
|
||||
await settingRegistry?.load('@jupyterlab/notebook-extension:panel');
|
||||
setTimeout(() => {
|
||||
docManager.open(file, NOTEBOOK_FACTORY, undefined, {
|
||||
ref: '_noref'
|
||||
});
|
||||
docManager.open(file, NOTEBOOK_FACTORY, undefined, {
|
||||
ref: '_noref'
|
||||
});
|
||||
} else {
|
||||
docManager.open(file, EDITOR_FACTORY, undefined, {
|
||||
|
Before Width: | Height: | Size: 40 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 46 KiB After Width: | Height: | Size: 40 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |