From 28c2330665750134979144dba6d956b441cb7f02 Mon Sep 17 00:00:00 2001 From: timmywil Date: Mon, 12 Sep 2011 21:07:03 -0400 Subject: [PATCH] Remove unnecessary commented code --- test/unit/effects.js | 16 ---------------- 1 file changed, 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 ); } -- 2.39.5