mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2025-06-11 00:26:42 +00:00
Use crypto.getRandomValues in Workers
This commit is contained in:
parent
d785df3325
commit
20a9bccb41
@ -28,7 +28,7 @@
|
||||
* @module worker/worker
|
||||
*/
|
||||
|
||||
self.window = {}; // to make UMD bundles work
|
||||
self.window = self; // to make UMD bundles work
|
||||
|
||||
importScripts('openpgp.js');
|
||||
var openpgp = window.openpgp;
|
||||
|
Loading…
x
Reference in New Issue
Block a user