Permalink
Browse files

Tests: removed console logs from rangeslider tests.

  • Loading branch information...
1 parent ac06920 commit ed51bf48f7006321e7d32ac5f1459f04ad13a68b @jaspermdegroot jaspermdegroot committed Jan 4, 2013
Showing with 4 additions and 4 deletions.
  1. +4 −4 tests/unit/rangeslider/rangeslider_core.js
@@ -25,16 +25,16 @@
deepEqual( cssMarginLeft, bgMarginLeft, "Highlight has correct left margin" );
} else {
- var intMarginLeft = parseFloat( cssMarginLeft.replace("px", "") ); console.log(intMarginLeft);
+ var intMarginLeft = parseFloat( cssMarginLeft.replace("px", "") );
- bgMarginLeft = Math.round( rangeFirst.val() / range * width ); console.log(bgMarginLeft);
+ bgMarginLeft = Math.round( rangeFirst.val() / range * width );
// Take a rounding difference of max 2px into account
ok( -2 >= ( intMarginLeft - bgMarginLeft ) <= 2, "Highlight has correct left margin" );
}
cssWidth = bg.css( "width" );
- intWidth = parseFloat( cssWidth.replace("px", "") ); console.log(intWidth);
- bgWidth = Math.round( (rangeLast.val() - rangeFirst.val()) / range * width ); console.log(bgWidth);
+ intWidth = parseFloat( cssWidth.replace("px", "") );
+ bgWidth = Math.round( (rangeLast.val() - rangeFirst.val()) / range * width );
// Take a rounding difference of max 2px into account
ok( -2 >= ( intWidth - bgWidth ) <= 2, "Highlight has correct width" );
});

0 comments on commit ed51bf4

Please sign in to comment.