Skip to content

Commit a6f6b37

Browse files
konklonearthurvr
authored andcommitted
All: replace protocol-relative URLs
Fixes jquerygh-613 Closes jquerygh-641
1 parent 7ed6ab8 commit a6f6b37

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

entries/jQuery.getScript.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ $.cachedScript( "ajax/test.js" ).done(function( script, textStatus ) {
9191
<example>
9292
<desc>Load the <a href="https://github.com/jquery/jquery-color">official jQuery Color Animation plugin</a> dynamically and bind some color animations to occur once the new functionality is loaded.</desc>
9393
<code><![CDATA[
94-
var url = "//code.jquery.com/color/jquery.color.js";
94+
var url = "https://code.jquery.com/color/jquery.color.js";
9595
$.getScript( url, function() {
9696
$( "#go" ).click(function() {
9797
$( ".block" )

entries/jQuery.noConflict.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jQuery( "div > p" ).hide();
9292
<div id="log">
9393
<h3>Before $.noConflict(true)</h3>
9494
</div>
95-
<script src="//code.jquery.com/jquery-1.6.2.js"></script>
95+
<script src="https://code.jquery.com/jquery-1.6.2.js"></script>
9696
]]></html>
9797
<code><![CDATA[
9898
var $log = $( "#log" );

entries2html.xsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
&lt;meta charset="utf-8"&gt;
1313
&lt;title&gt;<xsl:value-of select="//entry/@name"/> demo&lt;/title&gt;<xsl:if test="css">
1414
&lt;style&gt;<xsl:value-of select="css/text()"/> &lt;/style&gt;</xsl:if>
15-
&lt;script src="//code.jquery.com/jquery-1.10.2.js"&gt;&lt;/script&gt;<xsl:if test="code/@location='head'">
15+
&lt;script src="https://code.jquery.com/jquery-1.10.2.js"&gt;&lt;/script&gt;<xsl:if test="code/@location='head'">
1616
&lt;script&gt;
1717
<xsl:copy-of select="code/text()"/>
1818
&lt;/script&gt;

0 commit comments

Comments
 (0)