diff --git a/README.md b/README.md index b95cc96f..9b08ab0a 100644 --- a/README.md +++ b/README.md @@ -266,7 +266,7 @@ var errorMessage = model.preValidate('attributeName', 'Value'); // name: 'Name is required', // email: 'Email must be a valid email' // } -var errors = model.preValidate({name: 'value', email: 'foo@example.com'); +var errors = model.preValidate({name: 'value', email: 'foo@example.com'}); ``` ## Configuration