Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
jQuery.getScript: Fix external link to jquery-color
GitHub's rawusercontent url's don't serve proper mime types, so we can use
the version of jQuery color found on code.jquery.com

Fixes #583
  • Loading branch information
gnarf committed Nov 5, 2014
commit 6c47b20582617250fd4ebd775f7ea9a035541786
2 changes: 1 addition & 1 deletion entries/jQuery.getScript.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,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 = "https://raw.githubusercontent.com/jquery/jquery-color/master/jquery.color.js";
var url = "//code.jquery.com/color/jquery.color-git.js";
$.getScript( url, function() {
$( "#go" ).click(function() {
$( ".block" )
Expand Down