core.js
function prepValidations(validations) {
  validations = _.cloneDeep(validations);
  for (var key in validations) {
    var validation = validations[key];
    if (!_.isArray(validation)) validations[key] = validation = [validation];
    for (var i = 0, l = validation.length; i < l; i++) {
      validation[i] = assembleValidation(validation[i]);
    }
  }
  return validations;
}
function prepValidations(validations) {
  validations = _.cloneDeep(validations);
  for (var key in validations) {
    var validation = validations[key];
    if (!_.isArray(validation)) validations[key] = validation = [validation];
    for (var i = 0, l = validation.length; i < l; i++) {
      validation[i] = assembleValidation(validation[i]);
    }
  }
  return validations;
}
function prepValidations ( validations ) { validations = _ . cloneDeep ( validations ) ; for ( var key in validations ) { var validation = validations [ key ] ; if ( ! _ . isArray ( validation ) ) validations [ key ] = validation = [ validation ] ; for ( var i = 0 , l = validation . length ; i < l ; i ++ ) { validation [ i ] = assembleValidation ( validation [ i ] ) ; } } return validations ; }
Preps the validations being sent to the `run` block, to standardize the format and allow for maximum flexibility when passing to the validation blocks.
Preps the validations being sent to the run block to standardize the format and allow for maximum flexibility when passing to the validation blocks .