disallow sheet import/export if WebAssembly is not present

pull/1/head
ansuz 2021-05-05 12:48:25 +05:30
parent fe41ca36bc
commit 586c45f0f7
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@ define([
};
var supportsXLSX = function () {
return !(typeof(Atomics) === "undefined" || typeof (SharedArrayBuffer) === "undefined");
return !(typeof(Atomics) === "undefined" || typeof (SharedArrayBuffer) === "undefined" || typeof(WebAssembly) === 'undefined');
};