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 20b827d commit 3cbd6c1Copy full SHA for 3cbd6c1
src/core.js
@@ -17,7 +17,7 @@ var CryptoJS = CryptoJS || (function (Math, undefined) {
17
try {
18
if (typeof window !== 'undefined') {
19
if (window.crypto) {
20
- // Support experimental crypto module in IE 11
+ // Use global crypto module
21
crypto = window.crypto;
22
} else if (window.msCrypto) {
23
// Support experimental crypto module in IE 11
@@ -35,7 +35,6 @@ var CryptoJS = CryptoJS || (function (Math, undefined) {
35
// Native crypto import via require
36
crypto = require('crypto');
37
}
38
-
39
} catch (err) {}
40
41
// Use getRandomValues method
0 commit comments