@jupyter-notebook/application 7.0.0-alpha.7 → 7.0.0-alpha.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/app.js +3 -0
  2. package/package.json +1 -1
package/lib/app.js CHANGED
@@ -1,6 +1,7 @@
1
1
  // Copyright (c) Jupyter Development Team.
2
2
  // Distributed under the terms of the Modified BSD License.
3
3
  import { JupyterFrontEnd } from '@jupyterlab/application';
4
+ import { Base64ModelFactory } from '@jupyterlab/docregistry';
4
5
  import { createRendermimePlugins } from '@jupyterlab/application/lib/mimerenderers';
5
6
  import { LabStatus } from '@jupyterlab/application/lib/status';
6
7
  import { PageConfig } from '@jupyterlab/coreutils';
@@ -37,6 +38,8 @@ export class NotebookApp extends JupyterFrontEnd {
37
38
  this._formatter = new Throttler(() => {
38
39
  Private.setFormat(this);
39
40
  }, 250);
41
+ // Add initial model factory.
42
+ this.docRegistry.addModelFactory(new Base64ModelFactory());
40
43
  if (options.mimeExtensions) {
41
44
  for (const plugin of createRendermimePlugins(options.mimeExtensions)) {
42
45
  this.registerPlugin(plugin);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jupyter-notebook/application",
3
- "version": "7.0.0-alpha.7",
3
+ "version": "7.0.0-alpha.8",
4
4
  "description": "Jupyter Notebook - Application",
5
5
  "homepage": "https://github.com/jupyter/notebook",
6
6
  "bugs": {