Skip to content
This repository has been archived by the owner on Aug 3, 2022. It is now read-only.

Commit

Permalink
Recompile JS
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Jan 26, 2016
1 parent 211fd87 commit e63607d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions dist/js/react-bootstrap-switch.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
indeterminate: this._prop('indeterminate')
};
},
componentWillReceiveProps: function(nextProps) {
return this.value(nextProps.state);
},
_prop: function(key) {
if (typeof this.props[key] === 'undefined') {
return this.defaults[key];
Expand Down
2 changes: 1 addition & 1 deletion dist/js/react-bootstrap-switch.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e63607d

Please sign in to comment.