Disabled webcrypto for msie
This commit is contained in:
parent
bbdc02063d
commit
bdf4f28c17
@ -488,7 +488,7 @@ angular.module('izhukov.utils', [])
|
|||||||
naClEmbed = false,
|
naClEmbed = false,
|
||||||
taskID = 0,
|
taskID = 0,
|
||||||
awaiting = {},
|
awaiting = {},
|
||||||
webCrypto = window.crypto && (window.crypto.subtle || window.crypto.webkitSubtle) || window.msCrypto && window.msCrypto.subtle,
|
webCrypto = window.crypto && (window.crypto.subtle || window.crypto.webkitSubtle)/* || window.msCrypto && window.msCrypto.subtle*/,
|
||||||
useSha1Crypto = webCrypto && webCrypto.digest !== undefined,
|
useSha1Crypto = webCrypto && webCrypto.digest !== undefined,
|
||||||
finalizeTask = function (taskID, result) {
|
finalizeTask = function (taskID, result) {
|
||||||
var deferred = awaiting[taskID];
|
var deferred = awaiting[taskID];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user