I'm not sure I like that.  If .filter() is destructive, it should be
destructive all the time.  It's less confusing that way.  Just my opinion.
 :)

>> that is cool, but destructive... is there a non-destructive if
>> alternative available?
>>
>> Or do they just remove the filtered items from the chain, and let the
>> rest of the chain calls deal with else cases?
>
> It's completely non-destructive - that's what makes it great.
>
> .filter( "string" ) // destructive
> .fitler( "string", function ) // non-destructive
>
> --John



_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to