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

Does not work with Jquery in noConflict mode #12

Closed
r1m opened this issue Nov 12, 2015 · 2 comments
Closed

Does not work with Jquery in noConflict mode #12

r1m opened this issue Nov 12, 2015 · 2 comments

Comments

@r1m
Copy link
Contributor

r1m commented Nov 12, 2015

The use of global $ prevents the use of the library with jquery.noConflict().

Maybe you should wrap this in

(function($) { 
 //code
})(jQuery );

or use jQuery variable instead

@bielfrontera
Copy link
Contributor

Hi @ram-one,
thanks for the advise.

I've modified the grunt configuration file to generate the dist code wrapped as you proposed.

@r1m
Copy link
Contributor Author

r1m commented Nov 12, 2015

Thanks.

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

No branches or pull requests

2 participants