Skip to content

Commit

Permalink
Bump version #
Browse files Browse the repository at this point in the history
  • Loading branch information
kaivi committed Jun 3, 2017
1 parent 3b15f54 commit d32b464
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
1.1.0 / 2017-06-03
=================
- Fixed issue [#41](https://github.com/kaivi/riek/issues/41)
* Always validate to true if no validator passed

1.0.9 / 2017-06-01
=================

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": "riek",
"version": "1.0.9",
"version": "1.1.0",
"description": "React Inline Edit Kit",
"author": "Kai Vik <[email protected]>",
"license": "MIT",
Expand Down
2 changes: 0 additions & 2 deletions src/RIEBase.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,8 @@ export default class RIEBase extends React.Component {
debug(`doValidations(${value})`)
let isValid;
if(this.props.validate) {
debug('using this.props.validate')
isValid = this.props.validate(value);
} else if (this.validate) {
debug('using this.validate')
isValid = this.validate(value);
} else return true
this.setState({invalid: !isValid});
Expand Down

0 comments on commit d32b464

Please sign in to comment.