Code coverage report for math/floor.js

Statements: 100% (6 / 6)      Branches: 100% (2 / 2)      Functions: 100% (3 / 3)      Lines: 100% (5 / 5)     

All files » math/ » floor.js
1 2 3 4 5 6 7 8 9 10 11 121         1 52 52   1    
define(['./countSteps'], function(countSteps){
    /**
    * Floor value to full steps.
    * @version 0.2.0 (2012/11/30)
    */
    function floor(val, step){
        step = step || 1;
        return countSteps(val, step) * step;
    }
    return floor;
});