Side navigation
Ticket #2903: add-eventdothandler.diff
File add-eventdothandler.diff, 0.5 KB (added by aheimlich, May 20, 2008 05:17AM UTC)
Index: jquery.fastTrigger.js
===================================================================
--- jquery.fastTrigger.js (revision 5641)
+++ jquery.fastTrigger.js (working copy)
@@ -57,7 +57,8 @@
for( var i in handlers ){
handler = handlers[i];
if( any || handler.type == ns ){
- e.data = handler.data;
+ e.data = handler.data;
+ e.handler = handler;
if( args )//call is slightly faster, thus preferred
handler.apply( this, args );
else
Download in other formats:
Original Format
File add-eventdothandler.diff, 0.5 KB (added by aheimlich, May 20, 2008 05:17AM UTC)
Index: jquery.fastTrigger.js
===================================================================
--- jquery.fastTrigger.js (revision 5641)
+++ jquery.fastTrigger.js (working copy)
@@ -57,7 +57,8 @@
for( var i in handlers ){
handler = handlers[i];
if( any || handler.type == ns ){
- e.data = handler.data;
+ e.data = handler.data;
+ e.handler = handler;
if( args )//call is slightly faster, thus preferred
handler.apply( this, args );
else