mirror of
https://github.com/openpgpjs/openpgpjs.git
synced 2026-03-17 21:58:45 +00:00
Use crypto.getRandomValues in Workers
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user