Procházet zdrojové kódy

Do not make the example read only

Steven Silvester před 9 roky
rodič
revize
68464e4539
1 změnil soubory, kde provedl 0 přidání a 1 odebrání
  1. 0 1
      example/src/index.ts

+ 0 - 1
example/src/index.ts

@@ -65,7 +65,6 @@ function main(): void {
   let contents = new ContentsManager(SERVER_URL);
   contents.get(NOTEBOOK, {}).then(data => {
     let nbModel = new NotebookModel();
-    nbModel.readOnly = true;
     populateNotebookModel(nbModel, data.content as NotebookContent);
     let nbWidget = new NotebookWidget(nbModel);
     keymap.add(bindings(nbModel));