Nope, not a typo. That + character allows .eq() to used with a
stringified number.

http://dev.jquery.com/ticket/3102

--
Ariel Flesler
http://flesler.blogspot.com

On Jan 15, 5:15 am, "David Zhou" <da...@nodnod.net> wrote:
> Somewhat related, there's a small but harmless typo at
>
> http://dev.jquery.com/browser/trunk/jquery/src/core.js#L479
>
> Is that supposed to be "return this.slice( i, i + 1 )" ?
>
>
>
> On Thu, Jan 15, 2009 at 2:07 AM, David Zhou <da...@nodnod.net> wrote:
> > It looks like a bug in Sizzle -- specifically, when applying filters,
> > it's applying to the two tables separately.
>
> > See:
>
> >http://media.nodnod.net/eq.html
>
> > Note that $('table tr:eq(36)') gives none while $('table tr:eq(5)')
> > gives 2.  One for each table.
>
> > On Thu, Jan 15, 2009 at 12:31 AM, John Resig <jere...@gmail.com> wrote:
>
> >> Hmm - yep - definitely looks like an issue here, will check in to it, 
> >> thanks!
>
> >> --John
>
> >> On Wed, Jan 14, 2009 at 9:27 PM, jquery.redsqu...@googlemail.com
> >> <jquery.redsqu...@googlemail.com> wrote:
>
> >>> I think there is an issue with :eq().
>
> >>> Demo test casehttp://jsbin.com/omobe
>
> > --
> > ---
> > David Zhou
> > da...@nodnod.net
>
> --
> ---
> David Zhou
> da...@nodnod.net
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to jquery-dev@googlegroups.com
To unsubscribe from this group, send email to 
jquery-dev+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to