Skip to content
Permalink
Browse files

More reference caching

  • Loading branch information...
rwaldron committed Sep 22, 2011
1 parent 7babc7f commit 737820118b0af9c9e0d077481f0630f0f279a2c8
Showing with 4 additions and 2 deletions.
  1. +4 −2 src/event.js
@@ -413,8 +413,10 @@ jQuery.event = {
// Make a writable jQuery.Event from the native event object
event = jQuery.event.fix( event || window.event );

if ( jQuery.event.propHooks[ event.type ] ) {
event = jQuery.event.propHooks[ event.type ]( event );
var propHook = jQuery.event.propHooks[ event.type ];

if ( propHook ) {
event = propHook( event );
}

var handlers = ((jQuery._data( this, "events" ) || {})[ event.type ] || []),

0 comments on commit 7378201

Please sign in to comment.
You can’t perform that action at this time.