Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add '_copyState()' function #883

Merged
merged 1 commit into from
Dec 5, 2018
Merged

Add '_copyState()' function #883

merged 1 commit into from
Dec 5, 2018

Conversation

jespirit
Copy link
Collaborator

@jespirit jespirit commented Dec 1, 2018

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):

  • unit tests (we use Jasmine 2.x.x)
  • JSFiddle (or an equivalent such as CodePen, Plunker, etc) or screenshot/GIF with new feature or bug-fix
  • 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

@jespirit jespirit merged commit d4b24df into seiyria:master Dec 5, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hovering over ticks overwrites slider state
1 participant