X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fxhr.js;h=991a14501daddff1f9641a8544b34ae9da39a492;hb=fd63416ab191c9c757ba8ca155f2656fcc8ce000;hp=929c99f9a06b8c341383ce639696d41013293a35;hpb=22e28b01e60e87b2454f88ca128fb84916b13564;p=jquery.git diff --git a/src/xhr.js b/src/xhr.js index 929c99f..991a145 100644 --- a/src/xhr.js +++ b/src/xhr.js @@ -23,8 +23,8 @@ jQuery.xhr = function( _native ) { if ( force || internal ) { // Reset callbacks lists - deferred = jQuery.deferred(); - completeDeferred = jQuery._deferred(); + deferred = jQuery.Deferred(); + completeDeferred = jQuery._Deferred(); xhr.success = xhr.then = deferred.then; xhr.error = xhr.fail = deferred.fail; @@ -257,8 +257,6 @@ jQuery.xhr = function( _native ) { dataConverters[ ( conversion = prev + " " + current ) ] || dataConverters[ "* " + current ]; - console.log( conversion ); - if ( ! oneConv && prev !== "text" && current !== "text" ) { conv1 = dataConverters[ prev + " text" ] || dataConverters[ "* text" ]; conv2 = dataConverters[ "text " + current ];