Browse Source

Add dependency and cleanup

Steven Silvester 9 years ago
parent
commit
91e12ac719
3 changed files with 2 additions and 4 deletions
  1. 0 3
      example/index.css
  2. 1 0
      package.json
  3. 1 1
      src/notebook/notebook/model.ts

+ 0 - 3
example/index.css

@@ -58,8 +58,6 @@
 }
 }
 
 
 
 
-
-
 .CodeMirror.cm-s-default {
 .CodeMirror.cm-s-default {
   line-height: 1.21429em;
   line-height: 1.21429em;
   /* Changed from 1em to our global default */
   /* Changed from 1em to our global default */
@@ -105,4 +103,3 @@
   border: 0;
   border: 0;
   border-radius: 0;
   border-radius: 0;
 }
 }
-

+ 1 - 0
package.json

@@ -7,6 +7,7 @@
   "dependencies": {
   "dependencies": {
     "codemirror": "^5.11.0",
     "codemirror": "^5.11.0",
     "diff-match-patch": "^1.0.0",
     "diff-match-patch": "^1.0.0",
+    "jupyter-js-services": "^0.5.2",
     "marked": "^0.3.5",
     "marked": "^0.3.5",
     "phosphor-disposable": "^1.0.5",
     "phosphor-disposable": "^1.0.5",
     "phosphor-observablelist": "^1.0.0-beta",
     "phosphor-observablelist": "^1.0.0-beta",

+ 1 - 1
src/notebook/notebook/model.ts

@@ -343,7 +343,7 @@ class NotebookModel implements INotebookModel {
   }
   }
 
 
   /**
   /**
-   * Execute the current cell. 
+   * Execute the given cell. 
    */
    */
   protected executeCell(cell: CodeCellModel): void {
   protected executeCell(cell: CodeCellModel): void {
     let session = this.session;
     let session = this.session;