[Bugfix][Example][Web] Fix typo after import

This commit is contained in:
Kesha Antonov 2019-06-22 17:44:53 +03:00 committed by Aliaksei Levin
parent 8ca4ba39c4
commit 8a8c10529a

View File

@ -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');
},