braintree / restricted-input

Restrict <input>s to certain valid characters (e.g. formatting phone or card numbers)
https://braintree.github.io/restricted-input/
MIT License
68 stars 25 forks source link

Add AMD support? #42

Closed koddsson closed 7 years ago

koddsson commented 7 years ago

General information

Issue description

👋 The entry point for this package (main.js) seems to only support CommonJS. Would there be interest in adding AMD support, possibly via a UMD loader?

If there's interest, I can submit a PR 👨‍🍳

koddsson commented 7 years ago

Actually, don't worry I just import the built file from dist/ directly.