mirror of
https://github.com/google/styleguide.git
synced 2024-03-22 13:11:43 +08: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:
parent
91d6e367e3
commit
19835af7b1
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue
Block a user