Skip to content

Removed jQuery dependency#43

Open
Brian-A wants to merge 3 commits into
vasyl-stanislavchuk:masterfrom
Brian-A:master
Open

Removed jQuery dependency#43
Brian-A wants to merge 3 commits into
vasyl-stanislavchuk:masterfrom
Brian-A:master

Conversation

@Brian-A
Copy link
Copy Markdown

@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