On 11/10/06, Bob Ippolito <[EMAIL PROTECTED]> wrote:
> > this.selected = list( ifilterfalse( bind( function(itemid){ return
> > itemid==item.id }, item ), this.selected ) );
> >
> > Is there a prettier/better way to do it?
>
> this.selected = filter(function (itemid) { return itemid != item.id;
> }, this.selected);this.selected = filter(partial(operator.ne, item.id), this.selected); No? Arnar --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/mochikit?hl=en -~----------~----~----~----~------~----~------~--~---
