aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--demos/effect/default.html4
-rw-r--r--tests/visual/effects/all.html6
-rw-r--r--tests/visual/effects/effects.js8
3 files changed, 0 insertions, 18 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>
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" );