forked from mystiq/hydrogen-web
reenable only using worker when wasm is not supported
This commit is contained in:
parent
df25382616
commit
95c6fd5a5b
1 changed files with 2 additions and 2 deletions
|
@ -102,9 +102,9 @@ export async function main(container, paths) {
|
||||||
// if wasm is not supported, we'll want
|
// if wasm is not supported, we'll want
|
||||||
// to run some olm operations in a worker (mainly for IE11)
|
// to run some olm operations in a worker (mainly for IE11)
|
||||||
let workerPromise;
|
let workerPromise;
|
||||||
// if (!window.WebAssembly) {
|
if (!window.WebAssembly) {
|
||||||
workerPromise = loadOlmWorker(paths);
|
workerPromise = loadOlmWorker(paths);
|
||||||
// }
|
}
|
||||||
|
|
||||||
const vm = new BrawlViewModel({
|
const vm = new BrawlViewModel({
|
||||||
createSessionContainer: () => {
|
createSessionContainer: () => {
|
||||||
|
|
Loading…
Reference in a new issue