Skip to content
Permalink
Browse files

Remove unnecessary commented code

  • Loading branch information...
timmywil committed Sep 13, 2011
1 parent 2e0c9bf commit 28c2330665750134979144dba6d956b441cb7f02
Showing with 0 additions and 16 deletions.
  1. +0 −16 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 );
}

0 comments on commit 28c2330

Please sign in to comment.
You can’t perform that action at this time.