Skip to content
Permalink
Browse files
Revised logic in data conversion to account for when dataFilter modif…
…ies the dataTypes list.
  • Loading branch information
jaubourg committed Dec 31, 2010
1 parent 981d1e0 commit 2a5c16f
Showing 1 changed file with 2 additions and 2 deletions.
@@ -415,6 +415,8 @@ jQuery.extend({

if ( i ) {

prev = dataTypes[ i - 1 ];

if ( prev !== "*" && current !== "*" && prev !== current ) {

oneConv = conv1 =
@@ -440,8 +442,6 @@ jQuery.extend({
response = s.dataFilter( response );
dataTypes = s.dataTypes;
}

prev = current;
}

// We have a real success

0 comments on commit 2a5c16f

Please sign in to comment.