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

Removed jQuery dependency #43

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

Brian-A
Copy link

@Brian-A Brian-A commented Oct 23, 2016

I've updated the directive so that it shouldn't need jQuery any more (there was only something like 2-3 lines that used jQuery).
I'm unsure why or if it was just my test page but the calls to scope.$apply were causing digest in progress errors so I've changed them to $evalAsync as a stop gap.
The version of nouislider I was using (9.0.0) didn't seem to have a .val() method so I've replaced them with .get() and .set() as appropriate
Only other thing worth noting is that I'm not very familiar with CoffeeScript so there might be cleaner ways of implementing some of the changes I've made.

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.

1 participant