mirror of
https://github.com/google/styleguide.git
synced 2024-03-22 13:11:43 +08:00
Merge pull request #439 from clingeric/patch-1
Removed RAS (redundant acronym syndrome) syndrome
This commit is contained in:
commit
91d6e367e3
|
@ -25,16 +25,16 @@ quality is maintained.</p>
|
||||||
|
|
||||||
<h4 id="Protocol">2.1.1 Protocol</h4>
|
<h4 id="Protocol">2.1.1 Protocol</h4>
|
||||||
|
|
||||||
<p>Use the HTTPS protocol for embedded resources where possible.</p>
|
<p>Use HTTPS for embedded resources where possible.</p>
|
||||||
|
|
||||||
<p>Always use the HTTPS protocol (<code>https:</code>) for images and other media
|
<p>Always use HTTPS (<code>https:</code>) for images and other media
|
||||||
files, style sheets, and scripts, unless the respective files are not available
|
files, style sheets, and scripts, unless the respective files are not available
|
||||||
over HTTPS.</p>
|
over HTTPS.</p>
|
||||||
|
|
||||||
<pre><code class="language-html prettyprint badcode"><!-- Not recommended: omits the protocol -->
|
<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.1.0/jquery.min.js"></script>
|
||||||
|
|
||||||
<!-- Not recommended: uses the HTTP protocol -->
|
<!-- 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.1.0/jquery.min.js"></script>
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
|
@ -45,7 +45,7 @@ over HTTPS.</p>
|
||||||
<pre><code class="language-css prettyprint badcode">/* Not recommended: omits the protocol */
|
<pre><code class="language-css prettyprint badcode">/* Not recommended: omits the protocol */
|
||||||
@import '//fonts.googleapis.com/css?family=Open+Sans';
|
@import '//fonts.googleapis.com/css?family=Open+Sans';
|
||||||
|
|
||||||
/* Not recommended: uses the HTTP protocol */
|
/* Not recommended: uses HTTP */
|
||||||
@import 'http://fonts.googleapis.com/css?family=Open+Sans';
|
@import 'http://fonts.googleapis.com/css?family=Open+Sans';
|
||||||
</code></pre>
|
</code></pre>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user