Skip to content

Commit

Permalink
[CU] lib indent
Browse files Browse the repository at this point in the history
  • Loading branch information
RebekahJ committed Mar 19, 2015
1 parent c8b62d7 commit c598b83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ var isArray = require( 'validate.io-array' ),
// MOVING MEAN //

/**
* FUNCTION: mmean( arr , W[, options] )
* FUNCTION: mmean( arr, W[, options] )
* Computes a moving mean over an array.
*
* @param {Array} arr - input array
Expand All @@ -58,8 +58,8 @@ function mmean( arr , W, options ) {
throw new TypeError( 'mmean()::invalid input argument. Must provide an array. Value: `' + arr + '`.' );
}
if ( !isPositiveInteger( W ) ) {
throw new TypeError( 'mmean()::invalid input argument. Window must be a positive integer. Value: `' + W + '`.' );
}
throw new TypeError( 'mmean()::invalid input argument. Window must be a positive integer. Value: `' + W + '`.' );
}
if ( arguments.length > 2 ) {
if ( !isObject( options ) ) {
throw new TypeError( 'mmean()::invalid input argument. Options must be an object. Value: `' + options + '`.' );
Expand Down

0 comments on commit c598b83

Please sign in to comment.