js: Host jQuery, don't use a CDN.
jQuery 3.2.1 downloaded directly from <https://code.jquery.com/jquery-3.2.1.js>. Licesnse from <https://github.com/jquery/jquery/blob/3.2.1/LICENSE.txt>.
This commit is contained in:
parent
e76bd36331
commit
a7a49d83b1
3 changed files with 10278 additions and 2 deletions
24
LICENSE
24
LICENSE
|
@ -71,3 +71,27 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||||
THE SOFTWARE.
|
THE SOFTWARE.
|
||||||
|
|
||||||
|
jQuery
|
||||||
|
------
|
||||||
|
|
||||||
|
Copyright JS Foundation and other contributors, https://js.foundation/
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of this software and associated documentation files (the
|
||||||
|
"Software"), to deal in the Software without restriction, including
|
||||||
|
without limitation the rights to use, copy, modify, merge, publish,
|
||||||
|
distribute, sublicense, and/or sell copies of the Software, and to
|
||||||
|
permit persons to whom the Software is furnished to do so, subject to
|
||||||
|
the following conditions:
|
||||||
|
|
||||||
|
The above copyright notice and this permission notice shall be
|
||||||
|
included in all copies or substantial portions of the Software.
|
||||||
|
|
||||||
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
||||||
|
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
||||||
|
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
||||||
|
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
{% load compress %}
|
{% load compress %}
|
||||||
{% load staticfiles %}
|
{% load staticfiles %}
|
||||||
|
|
||||||
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.js"></script>
|
|
||||||
|
|
||||||
{% compress js %}
|
{% compress js %}
|
||||||
|
<script src='{% static "js/jquery.js" %}'></script>
|
||||||
<script src='{% static "bootstrap/javascripts/bootstrap.min.js" %}'></script>
|
<script src='{% static "bootstrap/javascripts/bootstrap.min.js" %}'></script>
|
||||||
<script src='{% static "js/site.js" %}'></script>
|
<script src='{% static "js/site.js" %}'></script>
|
||||||
{% endcompress %}
|
{% endcompress %}
|
||||||
|
|
10253
static/js/jquery.js
vendored
Normal file
10253
static/js/jquery.js
vendored
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue