Permalink
Browse files

Remove unneeded parameter hockey in event shortcuts.

  • Loading branch information...
1 parent a8887e9 commit 9c2f0005675c8d913aabd83ed6723aab6ac9e59c @dmethvin dmethvin committed Nov 1, 2012
Showing with 0 additions and 5 deletions.
  1. +0 −5 src/event.js
View
@@ -967,11 +967,6 @@ jQuery.each( ("blur focus focusin focusout load resize scroll unload click dblcl
// Handle event binding
jQuery.fn[ name ] = function( data, fn ) {
- if ( fn == null ) {
- fn = data;
- data = null;
- }
-
return arguments.length > 0 ?
this.on( name, null, data, fn ) :
this.trigger( name );

0 comments on commit 9c2f000

Please sign in to comment.