Skip to content
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.

Commit

Permalink
Update a typo in the docs (#286)
Browse files Browse the repository at this point in the history
atleast > at least
  • Loading branch information
c100k authored and ansman committed Jun 15, 2019
1 parent 3b87db5 commit 366d519
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1277,13 +1277,13 @@ <h2>Validators</h2>
datetime: {
dateOnly: true,
latest: moment.utc().subtract(18, 'years'),
message: "^You need to be atleast 18 years old"
message: "^You need to be at least 18 years old"
}
}
};

validate({birthday: "3013-11-14"}, constraints);
// =&gt; {"birthday": ["You need to be atleast 18 years old"]}</code></pre>
// =&gt; {"birthday": ["You need to be at least 18 years old"]}</code></pre>
</div>
<div id="validators-email">
<div class="signature"><b>email</b></div>
Expand Down

0 comments on commit 366d519

Please sign in to comment.