From 1d7a1689ec3d7aa05565b4dc744b3aebc8afe301 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Fri, 23 Oct 2015 02:25:05 -0700 Subject: [PATCH] ignore mobile safari for now --- bower_components/botp/sha1-hmac.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bower_components/botp/sha1-hmac.js b/bower_components/botp/sha1-hmac.js index bbc20ed..2f3439b 100644 --- a/bower_components/botp/sha1-hmac.js +++ b/bower_components/botp/sha1-hmac.js @@ -12,7 +12,7 @@ exports.sha1Hmac = function (key, bytes) { var Unibabel = window.Unibabel; - if (window.crypto) { + if (window.crypto && window.crypto.subtle) { return (window.crypto.subtle||window.crypto.webkitSubtle).importKey( "raw" , key