Skip to content
Permalink
Browse files

DRY out #6514

  • Loading branch information...
rwaldron committed Apr 17, 2011
1 parent fb5ef2c commit 8d3754751dfa348c1d1e2d6735ec8cbc3a404695
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/event.js
@@ -1066,7 +1066,7 @@ jQuery.each(["live", "die"], function( i, name ) {

preType = type;

if ( type === "focus" || type === "blur" || type === "mouseenter" || type === "mouseleave" ) {
if ( liveMap[ type ] ) {

This comment has been minimized.

Copy link
@jdalton

jdalton Apr 17, 2011

Member

Objects FTW. I <3 this way of doing it.

This comment has been minimized.

Copy link
@ralphholzmann
types.push( liveMap[ type ] + namespaces );
type = type + namespaces;

0 comments on commit 8d37547

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