]> source.dussan.org Git - jquery.git/commitdiff
Removes unnecessary parenthesis from regular expression.
authorjaubourg <j@ubourg.net>
Thu, 24 Feb 2011 05:37:37 +0000 (06:37 +0100)
committerjaubourg <j@ubourg.net>
Thu, 24 Feb 2011 05:37:37 +0000 (06:37 +0100)
src/ajax/jsonp.js

index 2691591d2a8c9a585662998db2cdab000a7134ae..c70aeb7df3e95bab144ccd3cce6efdfe02e2d153 100644 (file)
@@ -1,7 +1,7 @@
 (function( jQuery ) {
 
 var jsc = jQuery.now(),
-       jsre = /(\=)\?(&|$)|()\?\?()/i;
+       jsre = /(\=)\?(&|$)|\?\?/i;
 
 // Default jsonp settings
 jQuery.ajaxSetup({