Browse Source

Update docs

Steven Silvester 8 years ago
parent
commit
02ba98f629
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/notebook/notebook/actions.ts

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

@@ -900,9 +900,9 @@ namespace Private {
       if (replace) {
         child.model.source = text;
       } else {
+        // Create a new code cell and add as the next cell.
         let cell = parent.model.factory.createCodeCell();
         cell.source = text;
-        // Add the child as the next cell
         let cells = parent.model.cells;
         for (let i = 0; i < cells.length; i++) {
           let widget = parent.childAt(i);