mirror of
https://github.com/tiennm99/styleguide.git
synced 2026-10-13 18:16:11 +00:00
update jQuery version in example
I know it's only an example, but best to have the most recent version here which doesn't have a known security vulneability.
This commit is contained in:
1 parent
91d6e367e3
commit
19835af7b1
1 file changed
+3
-3
+3
-3
@@ -32,14 +32,14 @@ files, style sheets, and scripts, unless the respective files are not available
|
||||
over HTTPS.</p>
|
||||
|
||||
<pre><code class="language-html prettyprint badcode"><!-- Not recommended: omits the protocol -->
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
|
||||
<script src="//ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
|
||||
|
||||
<!-- Not recommended: uses HTTP -->
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
|
||||
</code></pre>
|
||||
|
||||
<pre><code class="language-html prettyprint"><!-- Recommended -->
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
|
||||
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
|
||||
</code></pre>
|
||||
|
||||
<pre><code class="language-css prettyprint badcode">/* Not recommended: omits the protocol */
|
||||
|
||||
Reference in new issue
Block a user