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 /demos/effect/default.html | |
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 'demos/effect/default.html')
-rw-r--r-- | demos/effect/default.html | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/demos/effect/default.html b/demos/effect/default.html index 7d69abb2d..289d5df7f 100644 --- a/demos/effect/default.html +++ b/demos/effect/default.html @@ -11,7 +11,6 @@ #button { padding: .5em 1em; text-decoration: none; } #effect { width: 240px; height: 170px; padding: 0.4em; position: relative; } #effect h3 { margin: 0; padding: 0.4em; text-align: center; } - .ui-effects-transfer { border: 2px dotted gray; } </style> <script src="../../external/requirejs/require.js"></script> <script src="../bootstrap.js" data-modules="effects-all"> @@ -25,8 +24,6 @@ // some effects have required parameters if ( selectedEffect === "scale" ) { options = { percent: 50 }; - } else if ( selectedEffect === "transfer" ) { - options = { to: "#button", className: "ui-effects-transfer" }; } else if ( selectedEffect === "size" ) { options = { to: { width: 200, height: 60 } }; } @@ -75,7 +72,6 @@ <option value="shake">Shake</option> <option value="size">Size</option> <option value="slide">Slide</option> - <option value="transfer">Transfer</option> </select> <button id="button" class="ui-state-default ui-corner-all">Run Effect</button> |