Merge pull request #585 from dcherman/master

Replace .bind with .on when building event aliases
This commit is contained in:
Dave Methvin 2011-11-07 17:40:55 -08:00
commit 68ca9d47a0

View File

@ -1033,7 +1033,7 @@ jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblcl
}
return arguments.length > 0 ?
this.bind( name, data, fn ) :
this.on( name, null, data, fn ) :
this.trigger( name );
};