浏览代码

Update docs

Steven Silvester 8 年之前
父节点
当前提交
02ba98f629
共有 1 个文件被更改,包括 1 次插入1 次删除
  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);