Steven Silvester %!s(int64=9) %!d(string=hai) anos
pai
achega
ae8c9b6655
Modificáronse 2 ficheiros con 4 adicións e 3 borrados
  1. 3 3
      src/notebook/notebook/model.ts
  2. 1 0
      src/notebook/notebook/widget.ts

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

@@ -67,6 +67,9 @@ interface INotebookModel extends IDocumentModel {
 
   /**
    * The factory for creating new cell models.
+   *
+   * #### Notes
+   * This is a read-only property.
    */
   cellFactory: ICellModelFactory;
 
@@ -97,9 +100,6 @@ interface INotebookModel extends IDocumentModel {
 
   /**
    * List the metadata namespace keys for the notebook.
-   *
-   * #### Notes
-   * Metadata associated with the nbformat are not included.
    */
   listMetadata(): string[];
 }

+ 1 - 0
src/notebook/notebook/widget.ts

@@ -175,6 +175,7 @@ class StaticNotebook extends Widget {
     }
     this._model = null;
     this._rendermime = null;
+    this._factory = null;
     super.dispose();
   }