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 at http://groups.google.com/group/jquery-dev?hl=en.