diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2015-05-13 22:05:07 -0400 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-05-20 14:27:58 -0400 |
commit | ba37ca9ea59149a87127a718432a899334cbb443 (patch) | |
tree | 3c26c877b783702b953039b457b37a09d07cca21 /tests/visual | |
parent | a17180202d6fd7c137feba9ecc228554d44a7a7e (diff) | |
download | jquery-ui-ba37ca9ea59149a87127a718432a899334cbb443.tar.gz jquery-ui-ba37ca9ea59149a87127a718432a899334cbb443.zip |
Position: Remove core event/alias and deprecated module dependencies
Diffstat (limited to 'tests/visual')
-rw-r--r-- | tests/visual/position/position.html | 6 | ||||
-rw-r--r-- | tests/visual/position/position_feedback.html | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/tests/visual/position/position.html b/tests/visual/position/position.html index d9c7adb85..70a9c40e5 100644 --- a/tests/visual/position/position.html +++ b/tests/visual/position/position.html @@ -54,17 +54,17 @@ drag: function() { position(); } }); - $( "#within" ).click(function() { + $( "#within" ).on( "click", function() { within = within.is( ".demo" ) ? $( window ) : $( ".demo" ); position(); }); - $( "#margin" ).click(function() { + $( "#margin" ).on( "click", function() { positionable.toggleClass( "extra-margin" ); position(); }); - $( "select, input" ).bind( "click keyup change", function() { position(); } ); + $( "select, input" ).on( "click keyup change", function() { position(); } ); position(); }); diff --git a/tests/visual/position/position_feedback.html b/tests/visual/position/position_feedback.html index 97682c628..988451026 100644 --- a/tests/visual/position/position_feedback.html +++ b/tests/visual/position/position_feedback.html @@ -64,7 +64,7 @@ using: using }; }; - $( document ).bind( "mousemove", function( event ) { + $( document ).on( "mousemove", function( event ) { element.position( positionWithOffset( event.pageX - targetOffset.left, event.pageY - targetOffset.top ) ); oppositeElement.position( positionWithOffset( |