6 ], function( jQuery ) {
8 jQuery.each( ( "blur focus focusin focusout load resize scroll unload click dblclick " +
9 "mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave " +
10 "change select submit keydown keypress keyup error contextmenu" ).split( " " ),
13 // Handle event binding
14 jQuery.fn[ name ] = function( data, fn ) {
15 return arguments.length > 0 ?
16 this.on( name, null, data, fn ) :
22 hover: function( fnOver, fnOut ) {
23 return this.mouseenter( fnOver ).mouseleave( fnOut || fnOver );