Renamed jQuery.xhr.bindTransport as jQuery.xhr.transport. Generalized the implementation and made prefilters use the same logic. Cleaned up code and removed as many loops and each as possible.

This commit is contained in:
jaubourg 2010-12-21 13:06:41 +01:00 committed by unknown
parent 56628c7adf
commit 0daf7223d0
5 changed files with 104 additions and 118 deletions

View file

@ -17,7 +17,7 @@ jQuery.extend( true, jQuery.ajaxSettings , {
} );
// Bind script tag hack transport
jQuery.xhr.bindTransport("script", function(s) {
jQuery.xhr.transport("script", function(s) {
// Handle cache special case
if ( s.cache === undefined ) {