Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add thousandsStay setting. #146

Closed
wants to merge 8 commits into from
Closed

Conversation

Nannoises
Copy link

This is my take on adding a thousandsStay setting, which is working for my purposes.

Set default prefix to "US$ " and default affixStay to "false".  Added thousandsStay setting with default value of "false".
Changed prefix, affixesStay, and thousandsStay default values from
personalized to more general purpose settings.
@Nannoises
Copy link
Author

Hmmm there seems to be a difference between the whitespace display on GitHub for Windows and editing the code from a browser. Sorry, was trying to figure it out.

gbass84 added a commit to gbass84/jquery-maskmoney that referenced this pull request Oct 22, 2014
@plentz plentz added the feature label Oct 22, 2014
@gbass84
Copy link

gbass84 commented Oct 22, 2014

I had updated my solution to match yours, in order to keep in sync prior to merge, but discovered we both had it wrong.

It needs a regExp to get multiple separators, so I've updated to use that, which seems to work and is passing CI.

Replaced ALL occurrences of the thousands symbol using a global regexp.
@Nannoises
Copy link
Author

Yes, thank you. I've updated my branches with this fix.

@Nannoises
Copy link
Author

Closing this pull request to consolidate work to #144

@Nannoises Nannoises closed this Oct 22, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants