mirror of
https://github.com/MikeMcl/decimal.js.git
synced 2025-06-13 12:54:17 +00:00
Heavier-handed require
detection buster
This commit is contained in:
parent
fb37ca6bde
commit
b8d59009cf
@ -4780,7 +4780,8 @@
|
|||||||
|
|
||||||
if (!cryptoObject) {
|
if (!cryptoObject) {
|
||||||
try {
|
try {
|
||||||
cryptoObject = require('cry' + 'pto');
|
var pto = 'pto';
|
||||||
|
cryptoObject = require('cry' + pto);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
// Ignore.
|
// Ignore.
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user