Open dalownerx3 opened 3 years ago
The constructor uses Math.trunc() but that is not supported by Internet Explorer https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/trunc.
One should add this right before the Math.trunc() function call:
if (!Math.trunc) { Math.trunc = function (v) { return v < 0 ? Math.ceil(v) : Math.floor(v); }; }
The constructor uses Math.trunc() but that is not supported by Internet Explorer https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Math/trunc.
One should add this right before the Math.trunc() function call: