We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2ab273 commit 9284566Copy full SHA for 9284566
rng.js
@@ -1,6 +1,8 @@
1
(function() {
2
var g = ('undefined' === typeof window ? global : window) || {}
3
- var foolBrowserify = require
+ var foolBrowserify = function (r) {
4
+ try { return require(r) } catch (_) { }
5
+ }
6
_crypto = (
7
g.crypto || g.msCrypto || foolBrowserify('crypto')
8
)
0 commit comments