From 58faec7cb7e820ef910b4850f5234da3989e6961 Mon Sep 17 00:00:00 2001 From: jaubourg Date: Thu, 24 Feb 2011 06:37:37 +0100 Subject: [PATCH] Removes unnecessary parenthesis from regular expression. --- src/ajax/jsonp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ajax/jsonp.js b/src/ajax/jsonp.js index 2691591..c70aeb7 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({ -- 1.7.10.4