How to use the @jupyterlab/docregistry.DocumentRegistry.defaultFileTypes function in @jupyterlab/docregistry

To help you get started, we’ve selected a few @jupyterlab/docregistry examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jupyterlab / jupyterlab-data-explorer / tests / test-docmanager / src / manager.spec.ts View on Github external
beforeEach(() => {
    const registry = new DocumentRegistry({ textModelFactory });
    registry.addWidgetFactory(widgetFactory);
    registry.addWidgetFactory(widgetFactoryShared);
    DocumentRegistry.defaultFileTypes.forEach(ft => {
      registry.addFileType(ft);
    });
    manager = new DocumentManager({
      registry,
      manager: services,
      opener: {
        open: (widget: Widget) => {
          // no-op
        }
      }
    });
  });
github jupyterlab / jupyterlab / tests / test-docmanager / src / manager.spec.ts View on Github external
beforeEach(() => {
    const registry = new DocumentRegistry({ textModelFactory });
    registry.addWidgetFactory(widgetFactory);
    registry.addWidgetFactory(widgetFactoryShared);
    DocumentRegistry.defaultFileTypes.forEach(ft => {
      registry.addFileType(ft);
    });
    manager = new DocumentManager({
      registry,
      manager: services,
      opener: {
        open: (widget: Widget) => {
          // no-op
        }
      }
    });
  });
github jupyterlab / jupyterlab / tests / test-docregistry / src / registry.spec.ts View on Github external
beforeEach(() => {
        DocumentRegistry.defaultFileTypes.forEach(ft => {
          registry.addFileType(ft);
        });
      });
github jupyterlab / jupyterlab-data-explorer / tests / test-docregistry / src / registry.spec.ts View on Github external
beforeEach(() => {
        DocumentRegistry.defaultFileTypes.forEach(ft => {
          registry.addFileType(ft);
        });
      });
github jupyterlab / jupyterlab / tests / test-docregistry / src / registry.spec.ts View on Github external
beforeEach(() => {
        DocumentRegistry.defaultFileTypes.forEach(ft => {
          registry.addFileType(ft);
        });
      });
github jupyterlab / jupyterlab / tests / test-docregistry / src / registry.spec.ts View on Github external
beforeEach(() => {
        DocumentRegistry.defaultFileTypes.forEach(ft => {
          registry.addFileType(ft);
        });
      });
github jupyterlab / jupyterlab-data-explorer / tests / test-docregistry / src / registry.spec.ts View on Github external
beforeEach(() => {
        DocumentRegistry.defaultFileTypes.forEach(ft => {
          registry.addFileType(ft);
        });
      });
github jupyterlab / jupyterlab / tests / test-docregistry / src / registry.spec.ts View on Github external
beforeEach(() => {
        DocumentRegistry.defaultFileTypes.forEach(ft => {
          registry.addFileType(ft);
        });
      });