[go: up one dir, main page]

Skip to content

Commit

Permalink
Fixed josdejong#891: using BigNumbers not working in browser environm…
Browse files Browse the repository at this point in the history
…ents
  • Loading branch information
josdejong committed Jul 5, 2017
1 parent 94b813e commit b8b76cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# History

## not yet released, version 3.14.2
## 2017-07-05, version 3.14.2

- Upgraded to `fraction.js@4.0.2`
- Fixed #891 using BigNumbers not working in browser environments.


## 2017-06-30, version 3.14.1
Expand Down
2 changes: 1 addition & 1 deletion lib/type/bignumber/BigNumber.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
var Decimal = require('decimal.js');
var Decimal = require('decimal.js/decimal.js'); // make sure to pick the es5 version

function factory (type, config, load, typed, math) {
var BigNumber = Decimal.clone({precision: config.precision});
Expand Down

0 comments on commit b8b76cd

Please sign in to comment.