code: function Validatinator(validationInformation, validationErrorMessages) {
      if (! (this instanceof Validatinator)) {
          throw new Error("Whoops!  Validatinator must be called with the new keyword!");
      }
  
      // Users may want to add validation information later on so we will allow them to create an instance of Validatinator without passing
      // any validation information.
      this.validationInformation = (validationInformation !== undefined) ? this.utils.convertFieldValidationsToArray(validationInformation) : {};
      this.errors = {};
  
      // Current form & field we are validating against.
      this.currentForm;
      this.currentField;
  
      // Give our validations prototype object the properties needed to access the parent and utils methods.
      this.validations.parent = this;
      this.messages.parent = this;
      this.validations.utils = this.utils;
      this.messages.utils = this.utils;
  
      // Overwrite and create new validationErrorMessages if the user provided any.
      if (validationErrorMessages !== undefined) {
          this.messages.overwriteAndAddNewMessages(validationErrorMessages);
      }
  }
docs: Copyright (c) 2013-2015 David Jenkins
  See the file license.txt for copying permission.