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:
parent
56628c7adf
commit
0daf7223d0
5 changed files with 104 additions and 118 deletions
|
@ -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 ) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue