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

validator fix for angular before v1.3, dependency injection fix for minification-ready #40

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

Conversation

andreafdaf
Copy link

I was still using angular 1.2 in a project and international-phone-number ~0.0.3, Bower updated it for me to 0.0.7 and international-phone-number stopped working. This is because validators are not available before angular 1.3 (but international-phone-number asks for angular >1.2.0 so the update passed).

This simple check make the lib work on newer 1.3+ using validators and in previous ones skipping that piece of code

@andreafdaf
Copy link
Author

I've also added the "array notation" dependecy injection to make the minified file work 👍

@andreafdaf andreafdaf changed the title validator fix for versions before 1.3 validator fix for angular before v1.3, dependency injection fix for minification-ready Apr 25, 2015
@HugoCrd
Copy link

HugoCrd commented Jun 2, 2015

Hi !
It would be great to merge this ;)

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.

2 participants