From 9e35004d38ac52f3d6ac4182337cd6504485b188 Mon Sep 17 00:00:00 2001 From: Wynout van der Veer Date: Thu, 20 Mar 2014 07:33:19 +0100 Subject: [PATCH] Add closing brace --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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