diff options
author | Michał Gołębiowski-Owczarek <m.goleb@gmail.com> | 2024-09-16 17:16:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-16 17:16:40 +0200 |
commit | 36ed9fc3b0f0ce348a360e8a10500475337368b3 (patch) | |
tree | e2c6d95344e71da2fc92854a8967e83854afe500 /tests | |
parent | c934995efa431efe0b15b6f9a6b614e6b8e88399 (diff) | |
download | jquery-ui-36ed9fc3b0f0ce348a360e8a10500475337368b3.tar.gz jquery-ui-36ed9fc3b0f0ce348a360e8a10500475337368b3.zip |
Effect: Remove demos & visual tests of the transfer effect
The transfer effect is deprecated and not present unless `$.uiBackCompat` is set
to `true`. In previous UI versions, the default was including the backwards
compat layer so these demos & tests worked; now they do not by default. Just
remove them.
Fixes gh-2278
Closes gh-2291
Diffstat (limited to 'tests')
-rw-r--r-- | tests/visual/effects/all.html | 6 | ||||
-rw-r--r-- | tests/visual/effects/effects.js | 8 |
2 files changed, 0 insertions, 14 deletions
diff --git a/tests/visual/effects/all.html b/tests/visual/effects/all.html index e3fa3ee48..f4f9c270e 100644 --- a/tests/visual/effects/all.html +++ b/tests/visual/effects/all.html @@ -170,12 +170,6 @@ </li> <li> - <div class="effect" id="transfer"> - <p>Transfer to first element</p> - </div> - </li> - - <li> <div class="effect" id="addClass"> <p>addClass</p> </div> diff --git a/tests/visual/effects/effects.js b/tests/visual/effects/effects.js index ebe3347f2..5e8390abe 100644 --- a/tests/visual/effects/effects.js +++ b/tests/visual/effects/effects.js @@ -83,14 +83,6 @@ effect( "#slideUp", "slide", { direction: "up" } ); effect( "#slideLeft", "slide", { direction: "left" } ); effect( "#slideRight", "slide", { direction: "right" } ); -$( "#transfer" ).on( "click", function() { - $( this ) - .addClass( "current" ) - .effect( "transfer", { to: $( "div" ).eq( 0 ) }, 1000, function() { - $( this ).removeClass( "current" ); - } ); -} ); - $( "#addClass" ).on( "click", function() { $( this ).addClass( "current", duration, function() { $( this ).removeClass( "current" ); |