git.asbjorn.biz
/
jquery.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f7ed2ac
)
Revised logic in data conversion to account for when dataFilter modifies the dataType...
author
jaubourg
<j@ubourg.net>
Sat, 25 Dec 2010 22:00:25 +0000
(23:00 +0100)
committer
jaubourg
<j@ubourg.net>
Sat, 25 Dec 2010 22:00:25 +0000
(23:00 +0100)
src/ajax.js
patch
|
blob
|
history
diff --git
a/src/ajax.js
b/src/ajax.js
index
9f8e238
..
33c3645
100644
(file)
--- a/
src/ajax.js
+++ b/
src/ajax.js
@@
-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