This actually doesn't work in 1.3.2. It just throws an error expecting the proxy to be a function, not an object.
On Dec 31 2009, 12:39 am, John Resig <jere...@gmail.com> wrote: > jQuery has already solved this problem internally using our > jQuery.event.proxy method - and, in fact, if I were to land a > jQuery.bind() it would end up using jQuery.event.proxy(). But if you > look at jQuery.event.proxy() you can see that, in reality, we could > just be using that method and skip this whole dance entirely. For > example (and this works today, in jQuery 1.3.2): > > function foo(){} > .bind( "click", jQuery.event.proxy( foo, someObject ) ); > .unbind( "click", foo ); -- 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.