Closed jespirit closed 5 years ago
The code here looks good. You'll have to figure out how to make codeclimate happy with your tests.
@rovolution do you know what's up with the grunt error?
@seiyria personally, im not too picky about fixing the code climate issue, and have debated just removing it altogether since i feel it doesnt deliver any real value TBH.
@rovolution That's fine with me. I'd rather replace it with a linter if we had that set up or some-such. Or just not have it altogether.
we already have a linter setup in our CI check - https://github.com/seiyria/bootstrap-slider/blob/master/Gruntfile.js#L274-L278
@jespirit LGTM 👍 ill merge, publish, and update changelog.
@jespirit merged and published to v10.2.3.
Thanks again for your contribution!
Pull Requests
Please accompany all pull requests with the following (where appropriate):
grunt test
in your Terminal within the bootstrap-slider repository directoryThis pull request fixes https://github.com/seiyria/bootstrap-slider/issues/854. You can check the issue for my JSFiddle that is used to reproduce the bug.
I added 2 unit tests as well as making a minor edit with a unit test in the same file:
test/specs/DraggingHandlesSpec.js
.I will say that I was getting this error
Fatal error: Callback must be a function
displayed at the very end in red text, after running the unit tests usinggrunt test
command. I don't know why, thoughts?