Skip to content

Instantly share code, notes, and snippets.

@JoeChapman
Created February 24, 2012 15:22
Show Gist options
  • Save JoeChapman/1901600 to your computer and use it in GitHub Desktop.
Save JoeChapman/1901600 to your computer and use it in GitHub Desktop.
Defines what types are required to validate fields
(function ($, window, validator, undefined) {
validator.config = {
email: 'isValidEmail',
name: 'notEmpty'
};
}(jQuery, window, (validator || {}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment