Merge f93d546ee0
into f19e6c8172
This commit is contained in:
commit
3633cf1a60
@ -20,7 +20,7 @@ var randombytes = (function () {
|
||||
|
||||
if (crypto && crypto.getRandomValues) return browserBytes
|
||||
|
||||
if (require != null) {
|
||||
if (typeof require === 'function') {
|
||||
// Node.js. Bust Browserify
|
||||
crypto = require('cry' + 'pto')
|
||||
if (crypto && crypto.randomBytes) return nodeBytes
|
||||
|
Loading…
Reference in New Issue
Block a user