aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/effects.js
diff options
context:
space:
mode:
authortimmywil <timmywillisn@gmail.com>2011-09-12 21:07:03 -0400
committertimmywil <timmywillisn@gmail.com>2011-09-19 15:42:30 -0400
commit28c2330665750134979144dba6d956b441cb7f02 (patch)
tree930b1866393245eeff98a457c83f66a78eb17c5f /test/unit/effects.js
parent2e0c9bfd364d990051fc3de94d7abd4194b6ce7d (diff)
downloadjquery-28c2330665750134979144dba6d956b441cb7f02.tar.gz
jquery-28c2330665750134979144dba6d956b441cb7f02.zip
Remove unnecessary commented code
Diffstat (limited to 'test/unit/effects.js')
-rw-r--r--test/unit/effects.js16
1 files changed, 0 insertions, 16 deletions
diff --git a/test/unit/effects.js b/test/unit/effects.js
index 5bbb2d94a..74d4c7642 100644
--- a/test/unit/effects.js
+++ b/test/unit/effects.js
@@ -769,15 +769,6 @@ jQuery.each({
elem = elem[ 0 ];
if ( t_w == "show" ) {
- // equals( elem.style.display, "block", "Showing, display should block: " + elem.style.display);
- // }
-
- // if ( t_w == "hide"||t_w == "show" ) {
- // ok(f_w === "" ? elem.style.width === f_w : elem.style.width.indexOf(f_w) === 0, "Width must be reset to " + f_w + ": " + elem.style.width);
- // }
-
- // if ( t_h == "hide"||t_h == "show" ) {
- // ok(f_h === "" ? elem.style.height === f_h : elem.style.height.indexOf(f_h) === 0, "Height must be reset to " + f_h + ": " + elem.style.height);
equals( elem.style.display, "block", "Showing, display should block: " + elem.style.display );
}
@@ -805,13 +796,6 @@ jQuery.each({
cur_o = 1;
}
- // if ( t_o == "hide" || t_o == "show" ) {
- // equals(cur_o, f_o, "Opacity must be reset to " + f_o + ": " + cur_o);
- // }
-
- // if ( t_w == "hide" ) {
- // equals(elem.style.display, "none", "Hiding, display should be none: " + elem.style.display);
-
if ( t_o == "hide" || t_o == "show" ) {
equals( cur_o, f_o, "Opacity must be reset to " + f_o + ": " + cur_o );
}