Commit 2e995afc authored by Fred Chasen's avatar Fred Chasen

Merge branch 'patch-1' into 'master'

Reuse an existing window.PagedConfig instance

Closes #3

See merge request tools/pagedjs-cli!3
parents 06504a49 dfeb07e4
......@@ -103,9 +103,8 @@ class Printer extends EventEmitter {
}
await page.evaluate(() => {
window.PagedConfig = {
auto: false
}
window.PagedConfig = window.PagedConfig || {};
window.PagedConfig.auto = false;
});
......
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