Use single quotes inside EM_ASM
This commit is contained in:
parent
1aae564da3
commit
b26de68a67
@ -94,8 +94,8 @@ randombytes_stir(void)
|
||||
EM_ASM({
|
||||
if (Module.getRandomValue === undefined) {
|
||||
try {
|
||||
var window_ = "object" === typeof window ? window : self,
|
||||
crypto_ = typeof window_.crypto !== "undefined" ? window_.crypto : window_.msCrypto,
|
||||
var window_ = 'object' === typeof window ? window : self,
|
||||
crypto_ = typeof window_.crypto !== 'undefined' ? window_.crypto : window_.msCrypto,
|
||||
randomValuesStandard = function() {
|
||||
var buf = new Uint32Array(1);
|
||||
crypto_.getRandomValues(buf);
|
||||
|
Loading…
Reference in New Issue
Block a user