2
0

3 Ревизии 4b558ccc62 ... 1bdb72f338

Автор SHA1 Съобщение Дата
  kilnonedre 1bdb72f338 Merge branch 'yili' of http://gogsb.soaringnova.com/ylproj/jupyterlab into yili преди 1 година
  kilnonedre 1c230db4bd feat: 显示bug修复 преди 1 година
  kilnonedre b4fa83d3d4 feat: 显示bug修复 преди 1 година
променени са 2 файла, в които са добавени 94 реда и са изтрити 94 реда
  1. 2 2
      packages/yili-dag/src/ScriptEditor.tsx
  2. 92 92
      tsconfigdoc.json

+ 2 - 2
packages/yili-dag/src/ScriptEditor.tsx

@@ -126,8 +126,8 @@ export default class ScriptEditor extends React.Component<any, any> {
     );
     editor.setSize(null, '100%');
     const template = getEditorTemplate(this.props);
-    // const value = this.props.scriptText.trim();
-    editor.setValue(template);
+    const value = this.props.scriptText.trim();
+    editor.setValue(value ? value : template);
     this.setState({ editor });
   }
 

+ 92 - 92
tsconfigdoc.json

@@ -20,280 +20,280 @@
   },
   "references": [
     {
-      "path": "./packages/application"
+      "path": "./packages\\application"
     },
     {
-      "path": "./packages/apputils"
+      "path": "./packages\\apputils"
     },
     {
-      "path": "./packages/apputils-extension"
+      "path": "./packages\\apputils-extension"
     },
     {
-      "path": "./packages/attachments"
+      "path": "./packages\\attachments"
     },
     {
-      "path": "./packages/cell-toolbar"
+      "path": "./packages\\cell-toolbar"
     },
     {
-      "path": "./packages/cell-toolbar-extension"
+      "path": "./packages\\cell-toolbar-extension"
     },
     {
-      "path": "./packages/cells"
+      "path": "./packages\\cells"
     },
     {
-      "path": "./packages/celltags"
+      "path": "./packages\\celltags"
     },
     {
-      "path": "./packages/celltags-extension"
+      "path": "./packages\\celltags-extension"
     },
     {
-      "path": "./packages/codeeditor"
+      "path": "./packages\\codeeditor"
     },
     {
-      "path": "./packages/codemirror"
+      "path": "./packages\\codemirror"
     },
     {
-      "path": "./packages/codemirror-extension"
+      "path": "./packages\\codemirror-extension"
     },
     {
-      "path": "./packages/completer"
+      "path": "./packages\\completer"
     },
     {
-      "path": "./packages/completer-extension"
+      "path": "./packages\\completer-extension"
     },
     {
-      "path": "./packages/console"
+      "path": "./packages\\console"
     },
     {
-      "path": "./packages/console-extension"
+      "path": "./packages\\console-extension"
     },
     {
-      "path": "./packages/coreutils"
+      "path": "./packages\\coreutils"
     },
     {
-      "path": "./packages/csvviewer"
+      "path": "./packages\\csvviewer"
     },
     {
-      "path": "./packages/csvviewer-extension"
+      "path": "./packages\\csvviewer-extension"
     },
     {
-      "path": "./packages/debugger"
+      "path": "./packages\\debugger"
     },
     {
-      "path": "./packages/debugger-extension"
+      "path": "./packages\\debugger-extension"
     },
     {
-      "path": "./packages/docmanager"
+      "path": "./packages\\docmanager"
     },
     {
-      "path": "./packages/docmanager-extension"
+      "path": "./packages\\docmanager-extension"
     },
     {
-      "path": "./packages/docprovider"
+      "path": "./packages\\docprovider"
     },
     {
-      "path": "./packages/docprovider-extension"
+      "path": "./packages\\docprovider-extension"
     },
     {
-      "path": "./packages/docregistry"
+      "path": "./packages\\docregistry"
     },
     {
-      "path": "./packages/documentsearch"
+      "path": "./packages\\documentsearch"
     },
     {
-      "path": "./packages/documentsearch-extension"
+      "path": "./packages\\documentsearch-extension"
     },
     {
-      "path": "./packages/extensionmanager"
+      "path": "./packages\\extensionmanager"
     },
     {
-      "path": "./packages/extensionmanager-extension"
+      "path": "./packages\\extensionmanager-extension"
     },
     {
-      "path": "./packages/filebrowser"
+      "path": "./packages\\filebrowser"
     },
     {
-      "path": "./packages/filebrowser-extension"
+      "path": "./packages\\filebrowser-extension"
     },
     {
-      "path": "./packages/fileeditor"
+      "path": "./packages\\fileeditor"
     },
     {
-      "path": "./packages/fileeditor-extension"
+      "path": "./packages\\fileeditor-extension"
     },
     {
-      "path": "./packages/help-extension"
+      "path": "./packages\\help-extension"
     },
     {
-      "path": "./packages/htmlviewer"
+      "path": "./packages\\htmlviewer"
     },
     {
-      "path": "./packages/htmlviewer-extension"
+      "path": "./packages\\htmlviewer-extension"
     },
     {
-      "path": "./packages/hub-extension"
+      "path": "./packages\\hub-extension"
     },
     {
-      "path": "./packages/imageviewer"
+      "path": "./packages\\imageviewer"
     },
     {
-      "path": "./packages/imageviewer-extension"
+      "path": "./packages\\imageviewer-extension"
     },
     {
-      "path": "./packages/inspector"
+      "path": "./packages\\inspector"
     },
     {
-      "path": "./packages/inspector-extension"
+      "path": "./packages\\inspector-extension"
     },
     {
-      "path": "./packages/javascript-extension"
+      "path": "./packages\\javascript-extension"
     },
     {
-      "path": "./packages/jldbq-extenison"
+      "path": "./packages\\jldbq-extenison"
     },
     {
-      "path": "./packages/json-extension"
+      "path": "./packages\\json-extension"
     },
     {
-      "path": "./packages/launcher"
+      "path": "./packages\\launcher"
     },
     {
-      "path": "./packages/launcher-extension"
+      "path": "./packages\\launcher-extension"
     },
     {
-      "path": "./packages/logconsole"
+      "path": "./packages\\logconsole"
     },
     {
-      "path": "./packages/logconsole-extension"
+      "path": "./packages\\logconsole-extension"
     },
     {
-      "path": "./packages/mainmenu"
+      "path": "./packages\\mainmenu"
     },
     {
-      "path": "./packages/mainmenu-extension"
+      "path": "./packages\\mainmenu-extension"
     },
     {
-      "path": "./packages/markdownviewer"
+      "path": "./packages\\markdownviewer"
     },
     {
-      "path": "./packages/markdownviewer-extension"
+      "path": "./packages\\markdownviewer-extension"
     },
     {
-      "path": "./packages/mathjax2"
+      "path": "./packages\\mathjax2"
     },
     {
-      "path": "./packages/mathjax2-extension"
+      "path": "./packages\\mathjax2-extension"
     },
     {
-      "path": "./packages/mytest-extenison"
+      "path": "./packages\\mytest-extenison"
     },
     {
-      "path": "./packages/nbformat"
+      "path": "./packages\\nbformat"
     },
     {
-      "path": "./packages/notebook"
+      "path": "./packages\\notebook"
     },
     {
-      "path": "./packages/notebook-extension"
+      "path": "./packages\\notebook-extension"
     },
     {
-      "path": "./packages/observables"
+      "path": "./packages\\observables"
     },
     {
-      "path": "./packages/outputarea"
+      "path": "./packages\\outputarea"
     },
     {
-      "path": "./packages/pdf-extension"
+      "path": "./packages\\pdf-extension"
     },
     {
-      "path": "./packages/property-inspector"
+      "path": "./packages\\property-inspector"
     },
     {
-      "path": "./packages/rendermime"
+      "path": "./packages\\rendermime"
     },
     {
-      "path": "./packages/rendermime-extension"
+      "path": "./packages\\rendermime-extension"
     },
     {
-      "path": "./packages/rendermime-interfaces"
+      "path": "./packages\\rendermime-interfaces"
     },
     {
-      "path": "./packages/running"
+      "path": "./packages\\running"
     },
     {
-      "path": "./packages/running-extension"
+      "path": "./packages\\running-extension"
     },
     {
-      "path": "./packages/services"
+      "path": "./packages\\services"
     },
     {
-      "path": "./packages/settingeditor"
+      "path": "./packages\\settingeditor"
     },
     {
-      "path": "./packages/settingeditor-extension"
+      "path": "./packages\\settingeditor-extension"
     },
     {
-      "path": "./packages/settingregistry"
+      "path": "./packages\\settingregistry"
     },
     {
-      "path": "./packages/shared-models"
+      "path": "./packages\\shared-models"
     },
     {
-      "path": "./packages/shortcuts-extension"
+      "path": "./packages\\shortcuts-extension"
     },
     {
-      "path": "./packages/statedb"
+      "path": "./packages\\statedb"
     },
     {
-      "path": "./packages/statusbar"
+      "path": "./packages\\statusbar"
     },
     {
-      "path": "./packages/statusbar-extension"
+      "path": "./packages\\statusbar-extension"
     },
     {
-      "path": "./packages/terminal"
+      "path": "./packages\\terminal"
     },
     {
-      "path": "./packages/terminal-extension"
+      "path": "./packages\\terminal-extension"
     },
     {
-      "path": "./packages/theme-light-extension"
+      "path": "./packages\\theme-light-extension"
     },
     {
-      "path": "./packages/toc"
+      "path": "./packages\\toc"
     },
     {
-      "path": "./packages/toc-extension"
+      "path": "./packages\\toc-extension"
     },
     {
-      "path": "./packages/tooltip"
+      "path": "./packages\\tooltip"
     },
     {
-      "path": "./packages/tooltip-extension"
+      "path": "./packages\\tooltip-extension"
     },
     {
-      "path": "./packages/translation"
+      "path": "./packages\\translation"
     },
     {
-      "path": "./packages/translation-extension"
+      "path": "./packages\\translation-extension"
     },
     {
-      "path": "./packages/ui-components"
+      "path": "./packages\\ui-components"
     },
     {
-      "path": "./packages/ui-components-extension"
+      "path": "./packages\\ui-components-extension"
     },
     {
-      "path": "./packages/vdom"
+      "path": "./packages\\vdom"
     },
     {
-      "path": "./packages/vdom-extension"
+      "path": "./packages\\vdom-extension"
     },
     {
-      "path": "./packages/vega5-extension"
+      "path": "./packages\\vega5-extension"
     },
     {
-      "path": "./packages/yili-dag"
+      "path": "./packages\\yili-dag"
     }
   ]
 }