Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
badsyntax committed Jun 6, 2013
1 parent cfc9087 commit 4fb84d1
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Expand Up @@ -253,7 +253,9 @@ For example:
```javascript
var data = {
errors: {
name: 'Please enter a name'
name: [
'Please enter a name'
]
}
};
var source = '{{input_validation "name" "" errors}}' +
Expand Down Expand Up @@ -284,10 +286,10 @@ The errors object has to be in the following format:

```javascript
var errors = {
fieldName: [
'Error message 1',
'Error message 2!'
]
fieldName: [
'Error message 1',
'Error message 2!'
]
};
```

Expand Down

0 comments on commit 4fb84d1

Please sign in to comment.