inline js data

This commit is contained in:
Robin Appelman 2023-04-29 17:30:56 +02:00
commit 1e2a3e28e7
8 changed files with 111 additions and 69 deletions

View file

@ -36,6 +36,7 @@ ready(async () => {
const parse = async (data: ArrayBuffer, parseProgress: HTMLProgressElement, stored: boolean) => {
const header = parseHeaderFromBuffer(data);
console.log(header);
const parser = new AsyncParser(data, (progress) => parseProgress.value = progress);
await parser.cache();