postman: update readme

This commit is contained in:
0x1eef 2023-06-24 00:01:43 -03:00
parent 89bfac58a2
commit 564b01da62

View file

@ -43,7 +43,8 @@ postman(
item.progress((percent) => { item.progress((percent) => {
const span = document.querySelector("h1 .percent"); const span = document.querySelector("h1 .percent");
span.innerText = `${percent}%`; span.innerText = `${percent}%`;
})).fetch() })
).fetch()
.then((pkg) => { .then((pkg) => {
const h1 = document.querySelector("h1"); const h1 = document.querySelector("h1");
pkg.fonts.forEach((font) => documents.fonts.add(font)); pkg.fonts.forEach((font) => documents.fonts.add(font));