aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit
diff options
context:
space:
mode:
authorPaul Irish <paul.irish@gmail.com>2010-10-17 14:26:32 -0400
committerPaul Irish <paul.irish@gmail.com>2010-10-17 14:26:32 -0400
commit97dfa0d5a85a32fe56aba837bbf2bc889b092d2b (patch)
tree12354fb98231242e9af0f942965cf9e187e66207 /test/unit
parent8a5df39045292397a06d08b4fab2ad29819b5d44 (diff)
downloadjquery-97dfa0d5a85a32fe56aba837bbf2bc889b092d2b.tar.gz
jquery-97dfa0d5a85a32fe56aba837bbf2bc889b092d2b.zip
fadeToggle(). as suggested by Karl Swedberg in his jQcon talk. patched live! omg
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/effects.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/unit/effects.js b/test/unit/effects.js
index 6baa0f62d..952afc5b1 100644
--- a/test/unit/effects.js
+++ b/test/unit/effects.js
@@ -729,6 +729,13 @@ test("Chain slideToggle out", function() {
jQuery('#slidetoggleout div').saveState(jQuery.support.shrinkWrapBlocks).slideToggle('fast').slideToggle('fast',jQuery.checkState);
});
+test("Chain fadeToggle in", function() {
+ jQuery('#fadetogglein div').saveState().fadeToggle('fast').fadeToggle('fast',jQuery.checkState);
+});
+test("Chain fadeToggle out", function() {
+ jQuery('#fadetoggleout div').saveState().fadeToggle('fast').fadeToggle('fast',jQuery.checkState);
+});
+
test("Chain fadeTo 0.5 1.0 with easing and callback)", function() {
jQuery('#fadeto div').saveState().fadeTo('fast',0.5).fadeTo('fast',1.0,'linear',jQuery.checkState);
});