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