Update more reference snapshots

This commit is contained in:
Jeremy Tuloup 2022-10-05 22:11:05 +02:00
parent 7d5691ed9a
commit 55cd158fa0
7 changed files with 6 additions and 6 deletions

View File

@ -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, {

Binary file not shown.

Before

Width:  |  Height:  |  Size: 40 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 46 KiB

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB