[Bugfix][Example][Web] Fix typo after import
This commit is contained in:
parent
8ca4ba39c4
commit
8a8c10529a
@ -102,7 +102,7 @@ async function loadTdlibAsmjs(onFS) {
|
|||||||
console.log('got td_asm.js');
|
console.log('got td_asm.js');
|
||||||
const fromFile = 'td_asmjs.js.mem';
|
const fromFile = 'td_asmjs.js.mem';
|
||||||
const toFile = td_asmjs_mem_release;
|
const toFile = td_asmjs_mem_release;
|
||||||
const module = Module({
|
const module = Module.default({
|
||||||
onRuntimeInitialized: () => {
|
onRuntimeInitialized: () => {
|
||||||
console.log('runtime intialized');
|
console.log('runtime intialized');
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user