diff options
author | jaubourg <j@ubourg.net> | 2011-02-24 06:37:37 +0100 |
---|---|---|
committer | jaubourg <j@ubourg.net> | 2011-02-24 06:37:37 +0100 |
commit | 58faec7cb7e820ef910b4850f5234da3989e6961 (patch) | |
tree | 4ef0f22313907619ecd1a7d3236e9e16b9e06d4c /src/ajax/jsonp.js | |
parent | 5d9db486c774c10293d0813c89dfdbd973120030 (diff) | |
download | jquery-58faec7cb7e820ef910b4850f5234da3989e6961.tar.gz jquery-58faec7cb7e820ef910b4850f5234da3989e6961.zip |
Removes unnecessary parenthesis from regular expression.
Diffstat (limited to 'src/ajax/jsonp.js')
-rw-r--r-- | src/ajax/jsonp.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ajax/jsonp.js b/src/ajax/jsonp.js index 2691591d2..c70aeb7df 100644 --- 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({ |