Skip to content
Permalink
Browse files
Actually does what bab8079 promised: passes the jXHR as the third arg…
…ument of prefilters and transport factories. Comitted for completness even if if backs this out in the end and only land in 1.5.1.
  • Loading branch information
jaubourg committed Jan 26, 2011
1 parent bab8079 commit 7d75ea9
Showing 1 changed file with 1 addition and 1 deletion.
@@ -88,7 +88,7 @@ function inspectPrefiltersOrTransports( structure, options, originalOptions, jXH
selection;

for(; i < length && ( executeOnly || !selection ); i++ ) {
selection = list[ i ]( options, originalOptions );
selection = list[ i ]( options, originalOptions, jXHR );
// If we got redirected to another dataType
// we try there if not done already
if ( typeof selection === "string" ) {

0 comments on commit 7d75ea9

Please sign in to comment.