Commit b3579f5a authored by Valentin Schabschneider's avatar Valentin Schabschneider
Browse files

added declaration of done

parent a7c629b3
......@@ -175,6 +175,7 @@ class Printer extends EventEmitter {
});
await page.evaluate(async () => {
let done;
window.PagedPolyfill.on("page", (page) => {
const { id, width, height, startToken, endToken, breakAfter, breakBefore, position } = page;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment