mirror of
https://github.com/jquery/jquery.git
synced 2024-11-23 02:54:22 +00:00
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 New Issue
Block a user