Skip to content

Commit f9531d8

Browse files
gnarfkswedberg
authored andcommitted
jQuery.getScript: Fix external link to jquery-color.
Point the link to the file on code.jquery.com, not GitHub. Fixes #583.
1 parent ced7160 commit f9531d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entries/jQuery.getScript.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ $.cachedScript( "ajax/test.js" ).done(function( script, textStatus ) {
9494
<example>
9595
<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>
9696
<code><![CDATA[
97-
var url = "https://raw.githubusercontent.com/jquery/jquery-color/master/jquery.color.js";
97+
var url = "//code.jquery.com/color/jquery.color-git.js";
9898
$.getScript( url, function() {
9999
$( "#go" ).click(function() {
100100
$( ".block" )

0 commit comments

Comments
 (0)