ignore mobile safari for now
This commit is contained in:
parent
07ac4004b8
commit
1d7a1689ec
|
@ -12,7 +12,7 @@ exports.sha1Hmac = function (key, bytes) {
|
||||||
|
|
||||||
var Unibabel = window.Unibabel;
|
var Unibabel = window.Unibabel;
|
||||||
|
|
||||||
if (window.crypto) {
|
if (window.crypto && window.crypto.subtle) {
|
||||||
return (window.crypto.subtle||window.crypto.webkitSubtle).importKey(
|
return (window.crypto.subtle||window.crypto.webkitSubtle).importKey(
|
||||||
"raw"
|
"raw"
|
||||||
, key
|
, key
|
||||||
|
|
Loading…
Reference in New Issue