Skip to content
Permalink
Browse files

style adherence

  • Loading branch information
gibson042 committed Apr 22, 2012
1 parent b0ea80e commit 2d1247a413f889f711a77a12de63d79dfe14f069
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ajax/jsonp.js
@@ -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.
You can’t perform that action at this time.