Skip to content
Permalink
Browse files
style adherence
  • Loading branch information
gibson042 committed Apr 22, 2012
1 parent b0ea80e commit 2d1247a
Showing 1 changed file with 1 addition and 1 deletion.
@@ -41,7 +41,7 @@ jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) {
if ( replaceInUrl ) {
s.url = url.replace( rjsonp, "$1" + callbackName );
} else if ( replaceInData ) {
s.data = data.replace( rjsonp,"$1" + callbackName );
s.data = data.replace( rjsonp, "$1" + callbackName );
} else if ( hasCallback ) {
s.url += ( rquestion.test( url ) ? "&" : "?" ) + s.jsonp + "=" + callbackName;
}

0 comments on commit 2d1247a

Please sign in to comment.