diff options
Diffstat (limited to 'tests/unit/resizable/resizable_test_helpers.js')
-rw-r--r-- | tests/unit/resizable/resizable_test_helpers.js | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/unit/resizable/resizable_test_helpers.js b/tests/unit/resizable/resizable_test_helpers.js index 1c2ec831b..494c1a073 100644 --- a/tests/unit/resizable/resizable_test_helpers.js +++ b/tests/unit/resizable/resizable_test_helpers.js @@ -1,6 +1,9 @@ -define( function() { +define( [ + "jquery", + "lib/helper" +], function( $, helper ) { -return { +return $.extend( helper, { drag: function( el, dx, dy ) { // this mouseover is to work around a limitation in resizable // TODO: fix resizable so handle doesn't require mouseover in order to be used @@ -10,6 +13,6 @@ return { dy: dy }); } -}; +} ); } ); |