X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fxhr.js;h=57903e046be7f9936d15e2041b0bb3dc81b1f15c;hb=f28c774f2cde004a33aefc28306d995c599d963b;hp=c458704eeabaeb78caa1fe615fd7b7c740e10d5d;hpb=2e129759b44c022cdee5ce1057a7693d2a081263;p=jquery.git diff --git a/src/xhr.js b/src/xhr.js index c458704..57903e0 100644 --- a/src/xhr.js +++ b/src/xhr.js @@ -597,23 +597,6 @@ jQuery.xhr = function( _native ) { reset(1); // Install callbacks related methods - jQuery.each(["bind","unbind"], function(_, name) { - xhr[name] = function(type) { - - var functors = sliceFunc.call(arguments,1), - list; - - jQuery.each(type.split(/\s+/g), function() { - list = callbacksLists[this]; - if ( list ) { - list[name].apply(list, functors ); - } - }); - - return this; - }; - }); - jQuery.each(callbacksLists, function(name) { var list; xhr[name] = function() {