0 2 1
Brett Smith - 11 months ago 2019-12-06 15:42:05
brettcsmith@brettcsmith.org
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>;.
3 files changed:
24
Changeset was too big and was cut off... Show full diff anyway
↑ Collapse Diff ↑
...
 
@@ -71,3 +71,27 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
71 71
 
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
72 72
 
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
73 73
 
THE SOFTWARE.
74
 

	
75
 
jQuery
76
 
------
77
 

	
78
 
Copyright JS Foundation and other contributors, https://js.foundation/
79
 

	
80
 
Permission is hereby granted, free of charge, to any person obtaining
81
 
a copy of this software and associated documentation files (the
82
 
"Software"), to deal in the Software without restriction, including
83
 
without limitation the rights to use, copy, modify, merge, publish,
84
 
distribute, sublicense, and/or sell copies of the Software, and to
85
 
permit persons to whom the Software is furnished to do so, subject to
86
 
the following conditions:
87
 

	
88
 
The above copyright notice and this permission notice shall be
89
 
included in all copies or substantial portions of the Software.
90
 

	
91
 
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
92
 
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
93
 
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
94
 
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
95
 
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
96
 
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
97
 
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1 1
 
{% load compress %}
2 2
 
{% load staticfiles %}
3 3
 

	
4
 
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.js"></script>
5
 

	
6 4
 
{% compress js %}
5
 
  <script src='{% static "js/jquery.js" %}'></script>
7 6
 
  <script src='{% static "bootstrap/javascripts/bootstrap.min.js" %}'></script>
8 7
 
  <script src='{% static "js/site.js" %}'></script>
9 8
 
{% endcompress %}

Changeset was too big and was cut off... Show full diff anyway

0 comments (0 inline, 0 general)