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

Fix for #2 - toFormat pollutes the global scope #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

oscsx
Copy link

@oscsx oscsx commented Dec 5, 2018

Hi,

This prevents the toFormat function from polluting the global scope when a module loader is present and allows for a no conflict option for the other cases.
I based this change on what you currently have for the Decimal library.

I just changed the top and bottom of the file, but since this caused the indentation of the content, git is not being able to present the changes in an easy to read manner :/

I also didn't regenerate the minified file. Can you handle that?

Best Regards

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant