We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
broofa
ctavan
Learn more about funding links in repositories.
Report abuse
1 parent bb2c8e4 commit 8bf2a20Copy full SHA for 8bf2a20
src/rng-browser.js
@@ -7,7 +7,7 @@
7
var getRandomValues =
8
(typeof crypto != 'undefined' && crypto.getRandomValues && crypto.getRandomValues.bind(crypto)) ||
9
(typeof msCrypto != 'undefined' &&
10
- typeof window.msCrypto.getRandomValues == 'function' &&
+ typeof msCrypto.getRandomValues == 'function' &&
11
msCrypto.getRandomValues.bind(msCrypto));
12
13
var rnds8 = new Uint8Array(16); // eslint-disable-line no-undef
0 commit comments