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:
5d9db48
)
Removes unnecessary parenthesis from regular expression.
author
jaubourg
<j@ubourg.net>
Thu, 24 Feb 2011 05:37:37 +0000
(06:37 +0100)
committer
jaubourg
<j@ubourg.net>
Thu, 24 Feb 2011 05:37:37 +0000
(06:37 +0100)
src/ajax/jsonp.js
patch
|
blob
|
history
diff --git
a/src/ajax/jsonp.js
b/src/ajax/jsonp.js
index
2691591
..
c70aeb7
100644
(file)
--- a/
src/ajax/jsonp.js
+++ b/
src/ajax/jsonp.js
@@
-1,7
+1,7
@@
(function( jQuery ) {
var jsc = jQuery.now(),
- jsre = /(\=)\?(&|$)|()\?\?()/i;
+ jsre = /(\=)\?(&|$)|\?\?/i;
// Default jsonp settings
jQuery.ajaxSetup({