diff options
author | jaubourg <j@ubourg.net> | 2011-01-13 18:33:24 +0100 |
---|---|---|
committer | jaubourg <j@ubourg.net> | 2011-01-13 18:33:24 +0100 |
commit | a8fa5f2ec1030bceb9a65d0237f0c92ae4e014dd (patch) | |
tree | 243158b0f8dd90fb52877af3a57c98885f320b8f /src/ajax/xhr.js | |
parent | 44fc87f66ca54278e37f15885a80c2407036df57 (diff) | |
download | jquery-a8fa5f2ec1030bceb9a65d0237f0c92ae4e014dd.tar.gz jquery-a8fa5f2ec1030bceb9a65d0237f0c92ae4e014dd.zip |
Moved jQuery.ajax.prefilter and jQuery.ajax.transport to jQuery.ajaxPrefilter and jQuery.ajaxTransport so that proxying the ajax method doesn't turn into a nightmare. Thanks go to scott_gonzalez and DaveMethvin for pointing out the issue. Also made ajaxSetup return "this" to enable chainable definitions -- jQuery.ajaxSetup(...).ajaxPrefilter(...).ajaxTransport(...).
Diffstat (limited to 'src/ajax/xhr.js')
-rw-r--r-- | src/ajax/xhr.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax/xhr.js b/src/ajax/xhr.js index 614bd3a0c..34aa832fe 100644 --- a/src/ajax/xhr.js +++ b/src/ajax/xhr.js @@ -10,7 +10,7 @@ var // Next active xhr id xhrUnloadAbortInstalled; -jQuery.ajax.transport( function( s , determineDataType ) { +jQuery.ajaxTransport( function( s , determineDataType ) { // Cross domain only allowed if supported through XMLHttpRequest if ( ! s.crossDomain || jQuery.support.cors ) { |