angular-input-masks icon indicating copy to clipboard operation
angular-input-masks copied to clipboard

How to customize this module

Open wlingke opened this issue 10 years ago • 2 comments

I used angular-input-masks when it was 1.4 and only used the global and US masks by adding "angular-input-masks.us.js" into my script. With the new change in 2.0 I don't really understand how to install it just the parts I need. The entire library is kind of large (150kb without minification) and I only need the global and US masks.

What files do I need to include? I can't just add "angular-input-masks.us.js" by itself anymore.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/25319636-how-to-customize-this-module?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).

wlingke avatar Aug 03 '15 15:08 wlingke

Take a look at this section on the (readme)[https://github.com/assisrafael/angular-input-masks#another-build-options]. Let me know if the text is not clear enough.

assisrafael avatar Aug 16 '15 08:08 assisrafael

This is fine. So I would need to include 3 files? The base file, depedencies, and the US file all together? If I have MomentJS installed already, is there a way to remove that from the dependencies?

Thanks ᐧ

Best, Lingke

Lingke Wang Stanford GSB '16

On Sun, Aug 16, 2015 at 1:09 AM, Igor Rafael [email protected] wrote:

Take a look at this section on the (readme)[ https://github.com/assisrafael/angular-input-masks#another-build-options]. Let me know if the text is not clear enough.

— Reply to this email directly or view it on GitHub https://github.com/assisrafael/angular-input-masks/issues/106#issuecomment-131500713 .

wlingke avatar Aug 17 '15 15:08 wlingke