I like that, I like that alot!

On 8/17/07, John Resig <[EMAIL PROTECTED]> wrote:
>
>
> > I'm all in favor of removing gt/lt/eq in favor of the selector version
> > with filter.
>
> That was the original goal, but I actually decided to introduce an
> array method into jQuery to solve that problem: .slice(). Now gt/lt/eq
> will become:
>
> gt: .slice(Num)
> lt: .slice(0,Num)
> eq: .slice(Num,1)
>
> Plus slice gives you a ton of extra functionality:
> first: .slice(0,1)
> last: .slice(-1)
> all but first and last: .slice(1,-1)
>
> --John
>



-- 
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com

Reply via email to