mirror of
https://github.com/MikeMcl/decimal.js.git
synced 2026-03-02 03:49:24 +00:00
Fixing crypto require for older version of decimal, needed for a project I'm working on
This commit is contained in:
@@ -4046,7 +4046,7 @@
|
||||
if ( !crypto ) {
|
||||
|
||||
try {
|
||||
crypto = require('crypto');
|
||||
crypto = require('cry' + 'pto');
|
||||
} catch (e) {}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user