1
0
mirror of https://github.com/MikeMcl/decimal.js.git synced 2024-10-27 20:34:12 +00:00

Fixing crypto require for older version of decimal, needed for a project I'm working on

This commit is contained in:
andrewd 2016-02-17 16:56:27 +00:00
parent bc66aa91a5
commit 50250d8c83

View File

@ -4046,7 +4046,7 @@
if ( !crypto ) {
try {
crypto = require('crypto');
crypto = require('cry' + 'pto');
} catch (e) {}
}