Ticket #1318: grep.patch
File grep.patch, 459 bytes (added by , 15 years ago) |
---|
-
jquery.js
1721 1721 // Go through the array, only saving the items 1722 1722 // that pass the validator function 1723 1723 for ( var i = 0, el = elems.length; i < el; i++ ) 1724 if ( !inv && fn(elems[i],i) || inv &&!fn(elems[i],i) )1724 if ( !inv != !fn(elems[i],i) ) 1725 1725 result.push( elems[i] ); 1726 1726 1727 1727 return result;