blackbing / react-numeral-input

It is a very tiny component which is a replacement of HTML input element for post-editing format of number values. ex. 1000000 -> 1,000,000
http://blackbing.github.io/react-numeral-input/
MIT License
11 stars 4 forks source link

Switch to umd dist and uglify #4

Closed flynfish closed 9 years ago

flynfish commented 9 years ago

Switches to a UMD distribution and uglifies it.

blackbing commented 9 years ago

cool, thanks.

blackbing commented 9 years ago

@flynfish thanks for your contributing. I published it to 0.2.0, nice work.

flynfish commented 9 years ago

@blackbing no worries! In the process of doing this, I discovered if you change the default format there are bugs with numeral.js. I'd recommend switching from numeral to numbro.js since numeral isn't maintained anymore.

blackbing commented 9 years ago

@flynfish , thanks for this update. I tried to use numbro.js, but I can't fix its dependency right away. I will also upgrade node version to 4.0 and try to merge this package in the future. Thanks again. (y)