Skip to content

Commit 3cbd6c1

Browse files
committed
Update comment.
1 parent 20b827d commit 3cbd6c1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/core.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ var CryptoJS = CryptoJS || (function (Math, undefined) {
1717
try {
1818
if (typeof window !== 'undefined') {
1919
if (window.crypto) {
20-
// Support experimental crypto module in IE 11
20+
// Use global crypto module
2121
crypto = window.crypto;
2222
} else if (window.msCrypto) {
2323
// Support experimental crypto module in IE 11
@@ -35,7 +35,6 @@ var CryptoJS = CryptoJS || (function (Math, undefined) {
3535
// Native crypto import via require
3636
crypto = require('crypto');
3737
}
38-
3938
} catch (err) {}
4039

4140
// Use getRandomValues method

0 commit comments

Comments
 (0)