src/validation/validation.js
/**
   * Returns a new validation group on the subject
   * @param subject The subject to validate
   * @returns {ValidationGroup} A ValidationGroup that encapsulates the validation rules and current validation state for this subject
   */
Returns a new validation group on the subject
@param subject The subject to validate
@returns {ValidationGroup} A ValidationGroup that encapsulates the validation rules and current validation state for this subject
Returns a new validation group on the subject @param subject The subject to validate @returns { ValidationGroup } A ValidationGroup that encapsulates the validation rules and current validation state for this subject
on(subject, configCallback) {
    var conf = new ValidationConfig(this.config);
    if(configCallback !== null && configCallback !== undefined && typeof(configCallback) === 'function')
    {
      configCallback(conf);
    }
    return new ValidationGroup(subject, this.observerLocator, conf);
  }
on ( subject , configCallback ) { var conf = new ValidationConfig ( this . config ) ; if ( configCallback !== null && configCallback !== undefined && typeof ( configCallback ) === 'function' ) { configCallback ( conf ) ; } return new ValidationGroup ( subject , this . observerLocator , conf ) ; }
Returns a new validation group on the subject
 @param subject The subject to validate
 @returns {ValidationGroup} A ValidationGroup that encapsulates the validation rules and current validation state for this subject
Returns a new validation group on the subject @param subject The subject to validate @returns { ValidationGroup } A ValidationGroup that encapsulates the validation rules and current validation state for this subject