jhs/bigdecimal.js — Issue #6: window & document global variables
Author: scriby
Created: 2011-10-31 07:42:28+00:00
State: open

In the first couple statements of the built javascript file, please prefix window and document with var to not create global variables in my node app :)

Also, I'm not sure if you have any control over this, but the "ro" function breaks if Array's prototype is extended. The for in loop will iterate the extra prototype items, which basically makes it so you can't instantiate any BigDecimals or BigIntegers. A normal i++ for loop gets around the problem (hasOwnProperty would also work, etc. etc.).

Thanks,

Chris