Update validations.js

Fix small mistake in doc comment.
This commit is contained in:
Rand McKinney 2015-09-04 16:31:54 -07:00
parent c4de830bfe
commit 0e2d2c162e
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ Validatable.validatesPresenceOf = getConfigurator('presence');
* For example, validate absence of reserved * For example, validate absence of reserved
* ``` * ```
* Post.validatesAbsenceOf('reserved', { unless: 'special' }); * Post.validatesAbsenceOf('reserved', { unless: 'special' });
* * ```
* @param {String} propertyName One or more property names. * @param {String} propertyName One or more property names.
* @options {Object} errMsg Optional custom error message. Default is "can't be set" * @options {Object} errMsg Optional custom error message. Default is "can't be set"
* @property {String} message Error message to use instead of default. * @property {String} message Error message to use instead of default.