Skip to content

Commit

Permalink
All: replace protocol-relative URLs
Browse files Browse the repository at this point in the history
Fixes gh-613
Closes gh-641
  • Loading branch information
konklone authored and arthurvr committed Feb 11, 2015
1 parent 7ed6ab8 commit a6f6b37
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion entries/jQuery.getScript.xml
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ $.cachedScript( "ajax/test.js" ).done(function( script, textStatus ) {
<example>
<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>
<code><![CDATA[
var url = "//code.jquery.com/color/jquery.color.js";
var url = "https://code.jquery.com/color/jquery.color.js";
$.getScript( url, function() {
$( "#go" ).click(function() {
$( ".block" )
Expand Down
2 changes: 1 addition & 1 deletion entries/jQuery.noConflict.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jQuery( "div > p" ).hide();
<div id="log">
<h3>Before $.noConflict(true)</h3>
</div>
<script src="//code.jquery.com/jquery-1.6.2.js"></script>
<script src="https://code.jquery.com/jquery-1.6.2.js"></script>
]]></html>
<code><![CDATA[
var $log = $( "#log" );
Expand Down
2 changes: 1 addition & 1 deletion entries2html.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
&lt;meta charset="utf-8"&gt;
&lt;title&gt;<xsl:value-of select="//entry/@name"/> demo&lt;/title&gt;<xsl:if test="css">
&lt;style&gt;<xsl:value-of select="css/text()"/> &lt;/style&gt;</xsl:if>
&lt;script src="//code.jquery.com/jquery-1.10.2.js"&gt;&lt;/script&gt;<xsl:if test="code/@location='head'">
&lt;script src="https://code.jquery.com/jquery-1.10.2.js"&gt;&lt;/script&gt;<xsl:if test="code/@location='head'">
&lt;script&gt;
<xsl:copy-of select="code/text()"/>
&lt;/script&gt;
Expand Down

0 comments on commit a6f6b37

Please sign in to comment.