Skip to content

Commit 789c491

Browse files
committed
All Sites: Use protocol-relative URLs for jQuery CDN.
1 parent e656ef0 commit 789c491

File tree

4 files changed

+9
-9
lines changed

4 files changed

+9
-9
lines changed

themes/jquery/footer-mobile.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
<h3><span>Quick Access</span></h3>
99
<div class="cdn">
1010
<strong>CDN <em>CSS</em></strong>
11-
<input value="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.css" readonly>
11+
<input value="//code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.css" readonly>
1212
</div>
1313
<div class="cdn">
1414
<strong>CDN <em>JS</em></strong>
15-
<input value="http://code.jquery.com/jquery-1.9.1.min.js" readonly>
15+
<input value="//code.jquery.com/jquery-1.9.1.min.js" readonly>
1616
</div>
1717
<div class="cdn">
1818
<strong>CDN <em>JS</em></strong>
19-
<input value="http://code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js" readonly>
19+
<input value="//code.jquery.com/mobile/1.3.2/jquery.mobile-1.3.2.min.js" readonly>
2020
</div>
2121
<div class="download">
2222
<strong>Download jQuery Mobile 1.3.2:</strong>

themes/jquery/footer-qunit.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@
88
<h3><span>Quick Access</span></h3>
99
<div class="cdn">
1010
<strong>CDN <em>CSS</em></strong>
11-
<input value="http://code.jquery.com/qunit/qunit-1.12.0.css" readonly>
11+
<input value="//code.jquery.com/qunit/qunit-1.12.0.css" readonly>
1212
</div>
1313
<div class="cdn">
1414
<strong>CDN <em>JS</em></strong>
15-
<input value="http://code.jquery.com/qunit/qunit-1.12.0.js" readonly>
15+
<input value="//code.jquery.com/qunit/qunit-1.12.0.js" readonly>
1616
</div>
1717
<div class="download">
1818
<strong>Download QUnit 1.12.0:</strong>

themes/jquery/footer-ui.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,15 @@
88
<h3><span>Quick Access</span></h3>
99
<div class="cdn">
1010
<strong>CDN <em>CSS</em></strong>
11-
<input value="http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" readonly>
11+
<input value="//code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css" readonly>
1212
</div>
1313
<div class="cdn">
1414
<strong>CDN <em>JS</em></strong>
15-
<input value="http://code.jquery.com/jquery-1.9.1.js" readonly>
15+
<input value="//code.jquery.com/jquery-1.9.1.js" readonly>
1616
</div>
1717
<div class="cdn">
1818
<strong>CDN <em>JS</em></strong>
19-
<input value="http://code.jquery.com/ui/1.10.3/jquery-ui.js" readonly>
19+
<input value="//code.jquery.com/ui/1.10.3/jquery-ui.js" readonly>
2020
</div>
2121
<div class="download">
2222
<div><strong>Download jQuery UI 1.10.3 (for jQuery 1.6+):</strong></div>

themes/jquery/footer.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<h3><span>Quick Access</span></h3>
99
<div class="cdn">
1010
<strong>CDN</strong>
11-
<input value="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js" readonly>
11+
<input value="//code.jquery.com/jquery-1.10.2.min.js" readonly>
1212
</div>
1313
<div class="download">
1414
<strong><a href="http://jquery.com/download/">Download jQuery 1.10.2 →</a></strong>

0 commit comments

Comments
 (0)