Fixes #8115. Renames all references to jXHR with jqXHR in the code (like was done in the doc).
This commit is contained in:
parent
375b787838
commit
cb49b4a1b6
3 changed files with 64 additions and 64 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue