[jquery-dev] Re: :eq(n) issue

2009-01-15 Thread John Resig
I've filed a ticket for the :eq() issue: http://dev.jquery.com/ticket/3873 --John On Thu, Jan 15, 2009 at 2:07 AM, David Zhou 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.

[jquery-dev] Re: :eq(n) issue

2009-01-15 Thread Ariel Flesler
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" wrote: > Somewhat related, there's a small but harmless typo at > > http://dev.jquery.com/browser/t

[jquery-dev] Re: :eq(n) issue

2009-01-15 Thread John Resig
David - That looks like a separate issue - could you file a bug? Thanks! --John On Thu, Jan 15, 2009 at 5:18 AM, David Hulbert wrote: > > Is this issue related to this? > > $('div:has("p+p")') // goes into infinite loop with this HTML > 1 > > Test case: http://jsbin.com/atiha/edit > > Or sho

[jquery-dev] Re: :eq(n) issue

2009-01-15 Thread David Hulbert
Is this issue related to this? $('div:has("p+p")') // goes into infinite loop with this HTML 1 Test case: http://jsbin.com/atiha/edit Or should I file a bug? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "jQuery

[jquery-dev] Re: :eq(n) issue

2009-01-14 Thread David Zhou
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 wrote: > It looks like a bug in Sizzle -- specifically, when applying filters,

[jquery-dev] Re: :eq(n) issue

2009-01-14 Thread David Zhou
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

[jquery-dev] Re: :eq(n) issue

2009-01-14 Thread John Resig
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 wrote: > > I think there is an issue with :eq(). > > Demo test case http://jsbin.com/omobe > > > > --~--~-~--~~~--