src/validator.js
function (attribute, rulePassed) {

    var stopOnAttributes = this.stopOnAttributes;
    if (typeof stopOnAttributes === 'undefined' || stopOnAttributes === false || rulePassed === true) {
      return false;
    }

    if (stopOnAttributes instanceof Array) {
      return stopOnAttributes.indexOf(attribute) > -1;
    }

    return true;
  }
function (attribute, rulePassed) {

    var stopOnAttributes = this.stopOnAttributes;
    if (typeof stopOnAttributes === 'undefined' || stopOnAttributes === false || rulePassed === true) {
      return false;
    }

    if (stopOnAttributes instanceof Array) {
      return stopOnAttributes.indexOf(attribute) > -1;
    }

    return true;
  }
function ( attribute , rulePassed ) { var stopOnAttributes = this . stopOnAttributes ; if ( typeof stopOnAttributes === 'undefined' || stopOnAttributes === false || rulePassed === true ) { return false ; } if ( stopOnAttributes instanceof Array ) { return stopOnAttributes . indexOf ( attribute ) > - 1 ; } return true ; }
Determine if we should stop validating.

@param  {string} attribute
@param  {boolean} rulePassed
@return {boolean}
Determine if we should stop validating .