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:
e2ef3df
)
Fix #1905 bug where in IE the use of RegExp.test() was failing and needed to be repla...
author
David Serduke
<davidserduke@gmail.com>
Fri, 16 Nov 2007 23:54:45 +0000
(23:54 +0000)
committer
David Serduke
<davidserduke@gmail.com>
Fri, 16 Nov 2007 23:54:45 +0000
(23:54 +0000)
src/ajax.js
patch
|
blob
|
history
diff --git
a/src/ajax.js
b/src/ajax.js
index
09aba14
..
225165a
100644
(file)
--- a/
src/ajax.js
+++ b/
src/ajax.js
@@
-174,7
+174,7
@@
jQuery.extend({
}
// Build temporary JSONP function
- if ( s.dataType == "json" && (s.data && jsre.test( s.data ) || s.url.match(jsre)) ) {
+ if ( s.dataType == "json" && (s.data && s.data.match(jsre) || s.url.match(jsre)) ) {
jsonp = "jsonp" + jsc++;
// Replace the =? sequence both in the query string and the data