oops: "evaluated without context" On Nov 8, 12:48 am, Robert Katić <robert.ka...@gmail.com> wrote: > I detect only now that in closest method the selector is evaluated > without selector. > I am not sure which context is more correct: (context || this.context) > or it have to be a document? > > PS: It is not completely clear to me why selectors with positions can > not be handled by multiFilter in this situation. > > On Nov 7, 5:58 pm, John Resig <jere...@gmail.com> wrote: > > > I've already landed the commits - looks great - thanks! (I'll close > > the ticket once my network stops flaking out.) > > > --John > > > On Sat, Nov 7, 2009 at 5:47 PM, Robert Katić <robert.ka...@gmail.com> wrote: > > > I opened a ticket:http://dev.jquery.com/ticket/5470 > > > with link on commit. > > > > Commit also includes context inside liveHandler (it is a too small > > > change to make a separate commit). > > > > Component is "unfiled". Please tell me if I made mistakes opening this > > > ticket. > > > > On Nov 6, 3:01 pm, John Resig <jere...@gmail.com> wrote: > > >> > 1. Calling closest, context argument still is not used. > > >> > I was unable to find the proper ticket. Would I open one? > > > >> > 2. Storing "how much a parent is close to an element" with data API is > > >> > an big overhead. An jQuery.lastCloser or something similar would be > > >> > enough. Also it would speed up sorting inside liveHandler with > > >> > somethin like this: > > > >> > ... > > >> > elems.push({ elem: elem, fn: fn, closer: jQuery.lastCloser }); > > >> > .... > > >> > elems.sort(function( a, b ) { > > >> > return a.closer - b.closer; > > >> > }); > > > >> I'd appreciate tickets/patches for both of these - they both sound > > >> like great additions. > > > >> --John > > > > -- > > > > You received this message because you are subscribed to the Google Groups > > > "jQuery Development" group. > > > To post to this group, send email to jquery-...@googlegroups.com. > > > To unsubscribe from this group, send email to > > > jquery-dev+unsubscr...@googlegroups.com. > > > For more options, visit this group > > > athttp://groups.google.com/group/jquery-dev?hl=en.
-- You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-...@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.