Fixed. http://github.com/jeresig/sizzle/commit/0194670274ebeec815dc99a28d5dec3794dec817
Will push to trunk soon. --John On Tue, Jan 13, 2009 at 9:35 AM, John Resig <[email protected]> wrote: > After some testing it appears as if the following works: > jQuery("> *:eq(0)", context) > > While the follow fails: > jQuery("> :eq(0)", context) > > Seems like it should be easy enough to fix, will check in to it. > > --John > > > > On Tue, Jan 13, 2009 at 6:09 AM, Paul Bakaus <[email protected]> > wrote: >> Hey guys, >> >> when investigating why some of the jQuery UI demo pages didn't work with >> 1.3rc2, we found out it's related to 1.3rc2: >> >> We were doing the following: >> >> $('> :eq(0)', context) >> >> this worked in 1.2.6, in 1.3 you receive: Syntax error, unrecognized >> expression: > >> >> The bug only happens if >> >> 1) The first character is > >> 2) the immediate following part is a pseudo-selector (i.e. "> *:eq(0)") >> 3) The pseudo-selector has brackets (i.e. "> :input" works) >> >> This is definitely a regression. Any ideas? >> >> -- >> Paul Bakaus >> UI Architect >> -- >> http://paulbakaus.com >> http://www.linkedin.com/in/paulbakaus >> >> >> >> > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" 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/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---
