Bug Tracker

Ticket #3990: emptyvalue.patch

File emptyvalue.patch, 506 bytes (added by dz, 3 years ago)
  • selector.js

     
    66 */ 
    77(function(){ 
    88 
    9 var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]+['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[]+)+|[>+~])(\s*,\s*)?/g, 
     9var chunker = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*?['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[]+)+|[>+~])(\s*,\s*)?/g, 
    1010        done = 0, 
    1111        toString = Object.prototype.toString; 
    1212