Skip to content

Commit

Permalink
fix typo.fixes #1
Browse files Browse the repository at this point in the history
  • Loading branch information
yiminghe committed Mar 12, 2015
1 parent c89c404 commit 153dfbe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/Validation.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ var Validation = React.createClass({

isValid() {
var result = this.getFormData();
return Object.keys(result).forEach((name)=> {
return Object.keys(result).every((name)=> {
if (result[name].isValidating || result[name].errors && result[name].errors.length) {
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rc-form-validation",
"version": "1.0.0",
"version": "1.0.1",
"description": "form-validation ui component for react",
"keywords": [
"react",
Expand Down

0 comments on commit 153dfbe

Please sign in to comment.