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

How it use with requirejs? #20

Closed
MikeBazhenov opened this issue Jan 23, 2015 · 4 comments
Closed

How it use with requirejs? #20

MikeBazhenov opened this issue Jan 23, 2015 · 4 comments

Comments

@MikeBazhenov
Copy link

I include switchery.js before initialization ngSwtchery and switchery not plugged into window why?

switcher = new $window.Switchery(elem[0], options); //undefined is not a function
@aramonc
Copy link
Collaborator

aramonc commented Jan 23, 2015

This lib doesn't use requireJS. You have to add Switchery as a script tag in your header before even AngularJS.

@MikeBazhenov
Copy link
Author

@aramonc i use requirejs for organize application

@aramonc
Copy link
Collaborator

aramonc commented Jan 23, 2015

unfortunately that's currently not supported by us. As it is I'm having a hard time keeping up with PRs because this project is not being used by us anymore.

You may want to try to do this with pure css and avoid the extra dependency.

@MikeBazhenov
Copy link
Author

@aramonc ok thanks

@aramonc aramonc closed this as completed Jan 23, 2015
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