aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard Gibson <richard.gibson@gmail.com>2012-04-22 11:40:02 -0400
committerRichard Gibson <richard.gibson@gmail.com>2012-04-22 11:40:02 -0400
commit2d1247a413f889f711a77a12de63d79dfe14f069 (patch)
tree91b4cb652cb6482756841c4902b2e4072b1c6d51 /src
parentb0ea80e9fd35286c1cd68216c512712dff1f145d (diff)
downloadjquery-2d1247a413f889f711a77a12de63d79dfe14f069.tar.gz
jquery-2d1247a413f889f711a77a12de63d79dfe14f069.zip
style adherence
Diffstat (limited to 'src')
-rw-r--r--src/ajax/jsonp.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax/jsonp.js b/src/ajax/jsonp.js
index 4340d9acc..7b2ac4929 100644
--- a/src/ajax/jsonp.js
+++ b/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;
}