Since the _state is relatively small, I just simply copied over the keys and values. But I'm not sure where to put the _copyState() function though. Any suggestions?
I will add a unit test as well.
Pull Requests
Please accompany all pull requests with the following (where appropriate):
[x] JSFiddle (or an equivalent such as CodePen, Plunker, etc) or screenshot/GIF with new feature or bug-fix
[x] Link to original Github issue (if this is a bug-fix)
[ ] Passes CI-server checks (runs automated tests, JS source-code linting, etc..). To run these on your local machine, type grunt test in your Terminal within the bootstrap-slider repository directory
Fixes #882
Since the
_state
is relatively small, I just simply copied over the keys and values. But I'm not sure where to put the_copyState()
function though. Any suggestions?I will add a unit test as well.
Pull Requests
Please accompany all pull requests with the following (where appropriate):
grunt test
in your Terminal within the bootstrap-slider repository directory