function performValidations() {
	    this.resetErrors();

	    var required_fields = this.$('.st-required');
	    Array.prototype.forEach.call(required_fields, (function (f, i) {
	      this.validateField(f);
	    }).bind(this));
	    this.validations.forEach(this.runValidator, this);

	    this.el.classList.toggle('st-block--with-errors', this.errors.length > 0);
	  }
// of running our validators and custom validators
of running our validators and custom validators
of running our validators and custom validators
function performValidations() {
	    this.resetErrors();
	    var required_fields = this.$('.st-required');
	    Array.prototype.forEach.call(required_fields, (function (f, i) {
	      this.validateField(f);
	    }).bind(this));
	    this.validations.forEach(this.runValidator, this);
	    this.el.classList.toggle('st-block--with-errors', this.errors.length > 0);
	  }
function performValidations ( ) { this . resetErrors ( ) ; var required_fields = this . $ ( '.st-required' ) ; Array . prototype . forEach . call ( required_fields , ( function ( f , i ) { this . validateField ( f ) ; } ) . bind ( this ) ) ; this . validations . forEach ( this . runValidator , this ) ; this . el . classList . toggle ( 'st-block--with-errors' , this . errors . length > 0 ) ; }
of running our validators and custom validators
of running our validators and custom validators