فهرست منبع

undo codemirror changes for now

Steven Silvester 8 سال پیش
والد
کامیت
bc3a405590
2فایلهای تغییر یافته به همراه1 افزوده شده و 9 حذف شده
  1. 0 2
      jupyterlab/lab.html
  2. 1 7
      jupyterlab/webpack.conf.js

+ 0 - 2
jupyterlab/lab.html

@@ -13,8 +13,6 @@ Distributed under the terms of the Modified BSD License.
     {% if mathjax_url %}
     <script type="text/javascript" src="{{mathjax_url}}?config={{mathjax_config}}&amp;delayStartupUntil=configured" charset="utf-8"></script>
     {% endif %}
-    <script src="{{static_url("components/codemirror/lib/codemirror.js") }}" type="text/javascript" charset="utf-8"></script>
-    <script src="{{static_url("components/codemirror/mode/meta.js") }}" type="text/javascript" charset="utf-8"></script>
     <script src="{{static_url("components/jquery/jquery.min.js") }}" type="text/javascript" charset="utf-8"></script> <!-- window.$ -->
     <script src="{{static_url("components/jquery-ui/ui/minified/jquery-ui.min.js") }}" type="text/javascript" charset="utf-8"></script> <!-- extends window.$ -->
 </head>

+ 1 - 7
jupyterlab/webpack.conf.js

@@ -35,12 +35,6 @@ module.exports = {
   },
   externals: {
     jquery: '$',
-    'jquery-ui': '$',
-    'codemirror': 'CodeMirror',
-    'codemirror/lib/codemirror': 'CodeMirror',
-    'codemirror/mode/meta': 'CodeMirror',
-    // Account for relative paths from other CodeMirror files
-    '../../lib/codemirror': 'CodeMirror',
-    '../lib/codemirror': 'CodeMirror' 
+    'jquery-ui': '$'
   }
 }