Skip to content
Permalink
Browse files
Remove unneeded parameter hockey in event shortcuts.
  • Loading branch information
dmethvin committed Nov 1, 2012
1 parent a8887e9 commit 9c2f000
Showing 1 changed file with 0 additions and 5 deletions.
@@ -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.