Procházet zdrojové kódy

Update to the new jupyter-js-notebook package.

Jason Grout před 9 roky
rodič
revize
7938d07e29
2 změnil soubory, kde provedl 4 přidání a 7 odebrání
  1. 1 2
      package.json
  2. 3 5
      src/notebook/plugin.ts

+ 1 - 2
package.json

@@ -8,9 +8,8 @@
     "codemirror": "^5.10.0",
     "jquery": "^2.2.0",
     "jquery-ui": "^1.10.5",
-    "jupyter-js-cells": "^0.2.5",
     "jupyter-js-filebrowser": "^0.7.1",
-    "jupyter-js-notebook": "^0.3.7",
+    "jupyter-js-notebook": "^0.4.2",
     "jupyter-js-services": "^0.4.2",
     "jupyter-js-terminal": "^0.1.12",
     "jupyter-js-utils": "^0.2.17",

+ 3 - 5
src/notebook/plugin.ts

@@ -2,16 +2,14 @@
 // Distributed under the terms of the Modified BSD License.
 'use strict';
 
-import {
-  CodeCellModel, ICellModel, isCodeCell, isMarkdownCell, BaseCellModel
-} from 'jupyter-js-cells';
-
 import {
   AbstractFileHandler
 } from 'jupyter-js-filebrowser';
 
 import {
-  NotebookWidget, NotebookModel, NBData, populateNotebookModel, buildOutputModel, Output
+  NotebookWidget, NotebookModel, NBData, populateNotebookModel, buildOutputModel, Output,
+  CodeCellModel, ICellModel, isCodeCell, isMarkdownCell, BaseCellModel,
+  ICodeCellModel, IMarkdownCellModel, IRawCellModel
 } from 'jupyter-js-notebook';
 
 import {