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 25, 2010
1 parent f7ed2ac commit 85f0dda
Showing 1 changed file with 2 additions and 2 deletions.
@@ -430,6 +430,8 @@ jQuery.extend({

if ( i ) {

prev = dataTypes[ i - 1 ];

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

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

prev = current;
}

// We have a real success

0 comments on commit 85f0dda

Please sign in to comment.