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:
981d1e0
)
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>
Fri, 31 Dec 2010 03:13:42 +0000
(
04:13
+0100)
src/ajax.js
patch
|
blob
|
history
diff --git
a/src/ajax.js
b/src/ajax.js
index
347273d
..
7c0e101
100644
(file)
--- a/
src/ajax.js
+++ b/
src/ajax.js
@@
-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