juspay / card-validator

Card validation helpers for payment forms.
MIT License
25 stars 22 forks source link

Remove line to use in Browser #11

Closed jonalxh closed 4 years ago

jonalxh commented 4 years ago

Hi, I've been using card-validator in a learning project and I've noticed that to use it in browser, with dist/validator.js is necessary to delete the last line in the file mentioned:

 module.exports = cardValidator;

Please check and update it.

Thanks.

boazjohn commented 4 years ago

@jonalxh bower itself is being phased out and they recommend alternatives like yarn or webpack. https://bower.io

I think for npm, yarn etc, this line is required.

jonalxh commented 4 years ago

Thanks.