crypto safety check

This commit is contained in:
Mo Bitar
2017-01-15 17:04:14 -06:00
parent 6838a20e86
commit e8ace18e28

View File

@@ -1,4 +1,4 @@
var subtleCrypto = window.crypto.subtle;
var subtleCrypto = window.crypto ? window.crypto.subtle : null;
class SNCryptoWeb extends SNCrypto {