Преглед на файлове

Update packages/codemirror-extension/src/index.ts

Co-authored-by: Jason Grout <jasongrout@users.noreply.github.com>
Nicholas Bollweg преди 4 години
родител
ревизия
e00055308a
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      packages/codemirror-extension/src/index.ts

+ 1 - 1
packages/codemirror-extension/src/index.ts

@@ -149,7 +149,7 @@ function activateEditorServices(app: JupyterFrontEnd): IEditorServices {
  */
 function activateCodeMirror(app: JupyterFrontEnd): ICodeMirror {
   return {
-    codemirrorSingleton: () => CodeMirror
+    get CodeMirror() { return CodeMirror }
   };
 }