Skip to content

Commit

Permalink
Merge pull request #36 from kevgathuku/patch-1
Browse files Browse the repository at this point in the history
Update example in README
  • Loading branch information
mrijk committed Oct 1, 2018
2 parents c9c0ccb + 0304ace commit cf4ca4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ s.def('phone', isString);
// First name, last name and email are required. Phone number is optional
s.def('person', s.keys({req: ['first-name', 'last-name', 'email'], opt: ['phone']}));

s.isValid('::person',
s.isValid('person',
{
'first-name': 'Elon',
'last-name': 'Musk',
Expand Down

0 comments on commit cf4ca4f

Please sign in to comment.