Fixes #8115. Renames all references to jXHR with jqXHR in the code (like was done in the doc).

This commit is contained in:
jaubourg 2011-02-01 16:00:30 +01:00
parent 375b787838
commit cb49b4a1b6
3 changed files with 64 additions and 64 deletions

View file

@ -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() {