diff options
Diffstat (limited to 'src/transports')
-rw-r--r-- | src/transports/jsonp.js | 2 | ||||
-rw-r--r-- | src/transports/script.js | 2 | ||||
-rw-r--r-- | src/transports/xhr.js | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/transports/jsonp.js b/src/transports/jsonp.js index a685bb196..f16b394ba 100644 --- a/src/transports/jsonp.js +++ b/src/transports/jsonp.js @@ -14,7 +14,7 @@ jQuery.ajaxSettings.jsonpCallback = function() { // 2) sneakily ensure transportDataType is json // 3) ensure options jsonp is always provided so that jsonp requests are always // json request with the jsonp option set -jQuery.xhr.prefilter("json jsonp", function(s) { +jQuery.ajax.prefilter("json jsonp", function(s) { var transportDataType = s.dataTypes[ 0 ]; diff --git a/src/transports/script.js b/src/transports/script.js index 4f55dc5ad..ddfaf3682 100644 --- a/src/transports/script.js +++ b/src/transports/script.js @@ -17,7 +17,7 @@ jQuery.extend( true, jQuery.ajaxSettings , { } ); // Bind script tag hack transport -jQuery.xhr.transport("script", function(s) { +jQuery.ajax.transport("script", function(s) { // Handle cache special case if ( s.cache === undefined ) { diff --git a/src/transports/xhr.js b/src/transports/xhr.js index 978f6c259..5845087b8 100644 --- a/src/transports/xhr.js +++ b/src/transports/xhr.js @@ -10,7 +10,7 @@ var // Next fake timer id xhrUnloadAbortMarker = []; -jQuery.xhr.transport( function( s , determineDataType ) { +jQuery.ajax.transport( function( s , determineDataType ) { // Cross domain only allowed if supported through XMLHttpRequest if ( ! s.crossDomain || jQuery.support.cors ) { |