Removed support for //foo | //bar - please use "," instead.

This commit is contained in:
John Resig 2007-01-10 18:26:13 +00:00
parent 75b6bcdb42
commit 7b439921c4

View file

@ -188,8 +188,8 @@ jQuery.extend({
// matched a token
if ( t && !foundToken ) {
// Handle multiple expressions
if ( !t.indexOf(",") || !t.indexOf("|") ) {
// Clean teh result set
if ( !t.indexOf(",") ) {
// Clean the result set
if ( ret[0] == context ) ret.shift();
// Merge the result sets