Renamed jQuery.xhr.bindTransport as jQuery.xhr.transport. Generalized the implementat...
[jquery.git] / src / transports / xhr.js
index 129058e..978f6c2 100644 (file)
@@ -10,7 +10,7 @@ var // Next fake timer id
        xhrUnloadAbortMarker = [];
 
        
-jQuery.xhr.bindTransport( function( s , determineDataType ) {
+jQuery.xhr.transport( function( s , determineDataType ) {
        
        // Cross domain only allowed if supported through XMLHttpRequest
        if ( ! s.crossDomain || jQuery.support.cors ) {
@@ -188,4 +188,4 @@ jQuery(window).bind( "unload" , function() {
        
 });
 
-})(jQuery);
+})( jQuery );