Tests: Remove core event/alias and deprecated module dependencies

This commit is contained in:
Alexander Schmitz 2015-05-13 22:05:32 -04:00
parent c79bc7f040
commit 27d746cdd6

View File

@ -21,11 +21,11 @@ exports.onFocus = function( element, onFocus ) {
if ( !event.originalEvent ) { if ( !event.originalEvent ) {
return; return;
} }
element.unbind( "focus", fn ); element.off( "focus", fn );
onFocus(); onFocus();
}; };
element.bind( "focus", fn )[ 0 ].focus(); element.on( "focus", fn )[ 0 ].focus();
}; };
return exports; return exports;