-
Notifications
You must be signed in to change notification settings - Fork 329
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
angular-input-masks-standalone doesnt work with requirejs #169
Comments
same here 2.2.0
StringMaks is an empty object |
this works:
But we actually need to do this imports in a different way inside the npm module. |
as a final note: don't use angular-input-masks on a requirejs based application. |
There is a workaround that did the trick for me, i imagine it could help someone...
The two main points beeing: |
On the latest version this workaround does not work anymore. |
Added angular-input-masks-standalone in requirejs config.
gives the following error on load:
angular-input-masks-standalone.js:3969 Uncaught TypeError: StringMask is not a constructor
angular: 1.3.13
--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/32283530-angular-input-masks-standalone-doesnt-work-with-requirejs?utm_campaign=plugin&utm_content=tracker%2F1022469&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F1022469&utm_medium=issues&utm_source=github).angular-input-masks: 2.0.0
The text was updated successfully, but these errors were encountered: