diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2015-05-13 22:05:32 -0400 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-05-20 14:27:58 -0400 |
commit | 27d746cdd67b29ff53947dbb3c04e16de23e965a (patch) | |
tree | 7100e7c50365350e69ea9976542ba2f004f17604 /tests/lib | |
parent | c79bc7f0400e5d98b9b8dba0b92ee7301f06d016 (diff) | |
download | jquery-ui-27d746cdd67b29ff53947dbb3c04e16de23e965a.tar.gz jquery-ui-27d746cdd67b29ff53947dbb3c04e16de23e965a.zip |
Tests: Remove core event/alias and deprecated module dependencies
Diffstat (limited to 'tests/lib')
-rw-r--r-- | tests/lib/helper.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/helper.js b/tests/lib/helper.js index 80cb27274..cc7d8c000 100644 --- a/tests/lib/helper.js +++ b/tests/lib/helper.js @@ -21,11 +21,11 @@ exports.onFocus = function( element, onFocus ) { if ( !event.originalEvent ) { return; } - element.unbind( "focus", fn ); + element.off( "focus", fn ); onFocus(); }; - element.bind( "focus", fn )[ 0 ].focus(); + element.on( "focus", fn )[ 0 ].focus(); }; return exports; |