1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-12 22:57:38 +02:00

All: Added methods to get secure random bytes

This commit is contained in:
Laurent Cozic
2017-12-12 17:51:07 +00:00
parent 8a282fd2e1
commit 92b857d83b
11 changed files with 49 additions and 798 deletions

View File

@ -112,6 +112,7 @@ shim.FileApiDriverLocal = null;
shim.readLocalFileBase64 = (path) => { throw new Error('Not implemented'); }
shim.uploadBlob = () => { throw new Error('Not implemented'); }
shim.sjclModule = null;
shim.randomBytes = async (count) => { throw new Error('Not implemented'); }
shim.setInterval = function(fn, interval) {
return setInterval(fn, interval);
}