Expose the proxy object on the object, for the benefit of plugin authors (Thanks to Justin Meyer for the suggestion).
This commit is contained in:
parent
eb496f757a
commit
199a721103
|
@ -428,6 +428,8 @@ jQuery.event = {
|
||||||
jQuery.extend( proxy, data || {} );
|
jQuery.extend( proxy, data || {} );
|
||||||
|
|
||||||
proxy.guid += data.selector + data.live;
|
proxy.guid += data.selector + data.live;
|
||||||
|
data.liveProxy = proxy;
|
||||||
|
|
||||||
jQuery.event.add( this, data.live, liveHandler, data );
|
jQuery.event.add( this, data.live, liveHandler, data );
|
||||||
|
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue