From 8a8c10529a2e93478ca48a35e06194815b65f2c4 Mon Sep 17 00:00:00 2001 From: Kesha Antonov Date: Sat, 22 Jun 2019 17:44:53 +0300 Subject: [PATCH] [Bugfix][Example][Web] Fix typo after import --- example/web/tdweb/src/worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/web/tdweb/src/worker.js b/example/web/tdweb/src/worker.js index 2672eaeb3..50024c458 100644 --- a/example/web/tdweb/src/worker.js +++ b/example/web/tdweb/src/worker.js @@ -102,7 +102,7 @@ async function loadTdlibAsmjs(onFS) { console.log('got td_asm.js'); const fromFile = 'td_asmjs.js.mem'; const toFile = td_asmjs_mem_release; - const module = Module({ + const module = Module.default({ onRuntimeInitialized: () => { console.log('runtime intialized'); },