Permalink
Browse files

Removes unnecessary parenthesis from regular expression.

  • Loading branch information...
1 parent 5d9db48 commit 58faec7cb7e820ef910b4850f5234da3989e6961 @jaubourg jaubourg committed Feb 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/ajax/jsonp.js
View
@@ -1,7 +1,7 @@
(function( jQuery ) {
var jsc = jQuery.now(),
- jsre = /(\=)\?(&|$)|()\?\?()/i;
+ jsre = /(\=)\?(&|$)|\?\?/i;
// Default jsonp settings
jQuery.ajaxSetup({

0 comments on commit 58faec7

Please sign in to comment.