toFormat icon indicating copy to clipboard operation
toFormat copied to clipboard

Fix for #2 - toFormat pollutes the global scope

Open oscsx opened this issue 7 years ago • 0 comments

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

oscsx avatar Dec 05 '18 16:12 oscsx