Forráskód Böngészése

Merge pull request #739 from blink1073/local-jquery

Use local jquery
Jason Grout 8 éve
szülő
commit
b2cd72f8d3
3 módosított fájl, 1 hozzáadás és 8 törlés
  1. 0 2
      jupyterlab/lab.html
  2. 1 5
      jupyterlab/webpack.config.js
  3. 0 1
      package.json

+ 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/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.$ -->
     <link href="{{static_prefix}}/vendor.css" rel="stylesheet">
     <link href="{{static_prefix}}/jupyterlab.css" rel="stylesheet">
 </head>

+ 1 - 5
jupyterlab/webpack.config.js

@@ -55,9 +55,5 @@ module.exports = {
   plugins: [
     new ExtractTextPlugin('[name].css'),
     new webpack.optimize.CommonsChunkPlugin('vendor', 'vendor.bundle.js')
-  ],
-  externals: {
-    jquery: '$',
-    'jquery-ui': '$'
-  }
+  ]
 }

+ 0 - 1
package.json

@@ -12,7 +12,6 @@
     "diff-match-patch": "^1.0.0",
     "es6-promise": "^3.2.1",
     "jquery": "^2.2.0",
-    "jquery-ui": "^1.10.5 <1.12",
     "jupyter-js-services": "^0.18.0",
     "leaflet": "^0.7.7",
     "less": "^2.7.1",