Skip to main content

Bug Tracker

Side navigation

Ticket #3990: emptyvalue.patch


File emptyvalue.patch, 0.5 KB (added by dz, January 27, 2009 04:39PM UTC)
Index: selector.js
===================================================================
--- selector.js	(revision 6168)
+++ selector.js	(working copy)
@@ -6,7 +6,7 @@
  */
 (function(){
 
-var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]+['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[]+)+|[>+~])(\s*,\s*)?/g,
+var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*?['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[]+)+|[>+~])(\s*,\s*)?/g,
 	done = 0,
 	toString = Object.prototype.toString;

Download in other formats:

Original Format