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

Use module format for constants instead of JSON #5

Closed EvanHahn closed 8 years ago

EvanHahn commented 8 years ago

Using the module system will make supporting Webpack easier as it won't require a JSON loader.

This is similar to what we've done in other libraries.

crookedneighbor commented 8 years ago

👍