Skip to content

Commit

Permalink
Update comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
evanvosberg committed Feb 11, 2020
1 parent 20b827d commit 3cbd6c1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var CryptoJS = CryptoJS || (function (Math, undefined) {
try {
if (typeof window !== 'undefined') {
if (window.crypto) {
// Support experimental crypto module in IE 11
// Use global crypto module
crypto = window.crypto;
} else if (window.msCrypto) {
// Support experimental crypto module in IE 11
Expand All @@ -35,7 +35,6 @@ var CryptoJS = CryptoJS || (function (Math, undefined) {
// Native crypto import via require
crypto = require('crypto');
}

} catch (err) {}

// Use getRandomValues method
Expand Down

0 comments on commit 3cbd6c1

Please sign in to comment.