mirror of https://git.matrix.org/git/olm.git
parent
ab4cbcd01a
commit
8f4b81b512
|
@ -14,7 +14,6 @@ if (typeof(window) !== 'undefined') {
|
|||
var bytes = nodeCrypto['randomBytes'](buf.length);
|
||||
buf.set(bytes);
|
||||
};
|
||||
process = global["process"];
|
||||
} else {
|
||||
throw new Error("Cannot find global to attach library to");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue