mirror of
https://github.com/MikeMcl/decimal.js.git
synced 2024-10-27 20:34:12 +00:00
Decimal.default to Decimal['default'] IE8 issue
This commit is contained in:
parent
5547cc805d
commit
eec7273c19
@ -4779,7 +4779,7 @@
|
||||
|
||||
// Node and other environments that support module.exports.
|
||||
} else if (typeof module != 'undefined' && module.exports) {
|
||||
module.exports = Decimal.default = Decimal.Decimal = Decimal;
|
||||
module.exports = Decimal['default'] = Decimal.Decimal = Decimal;
|
||||
|
||||
// Browser.
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user