aboutsummaryrefslogtreecommitdiffstats
path: root/src/ajax
diff options
context:
space:
mode:
authorjaubourg <j@ubourg.net>2011-02-01 16:00:30 +0100
committerjaubourg <j@ubourg.net>2011-02-01 16:00:53 +0100
commitcb49b4a1b648dea8ce5b1e5dbb2ab5432a84cb63 (patch)
tree829060573e903cb621e9131344ebb794e6b3c076 /src/ajax
parent375b78783825b9adab7a01541faf99f98ef7ecbd (diff)
downloadjquery-cb49b4a1b648dea8ce5b1e5dbb2ab5432a84cb63.tar.gz
jquery-cb49b4a1b648dea8ce5b1e5dbb2ab5432a84cb63.zip
Fixes #8115. Renames all references to jXHR with jqXHR in the code (like was done in the doc).
Diffstat (limited to 'src/ajax')
-rw-r--r--src/ajax/jsonp.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ajax/jsonp.js b/src/ajax/jsonp.js
index ebc660fba..2691591d2 100644
--- a/src/ajax/jsonp.js
+++ b/src/ajax/jsonp.js
@@ -12,7 +12,7 @@ jQuery.ajaxSetup({
});
// Detect, normalize options and install callbacks for jsonp requests
-jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jXHR ) {
+jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jqXHR ) {
var dataIsString = ( typeof s.data === "string" );
@@ -60,7 +60,7 @@ jQuery.ajaxPrefilter( "json jsonp", function( s, originalSettings, jXHR ) {
};
// Install cleanUp function
- jXHR.then( cleanUp, cleanUp );
+ jqXHR.then( cleanUp, cleanUp );
// Use data converter to retrieve json after script execution
s.converters["script json"] = function() {