Commit aaa29d68 authored by Fred Chasen's avatar Fred Chasen

Merge branch 'master' into bleed

parents f2730625 ed2c03df
This diff is collapsed.
......@@ -28,7 +28,7 @@
"express": "^4.16.4",
"jest": "^23.6.0",
"jest-image-snapshot": "^2.7.0",
"puppeteer": "GoogleChrome/puppeteer",
"puppeteer": "^1.12.2",
"rimraf": "^2.6.2",
"rollup": "^0.68.0",
"rollup-plugin-commonjs": "^9.2.0",
......
This diff is collapsed.
......@@ -21,7 +21,7 @@ describe('default', async () => {
it('should render 1 page', async () => {
let pages = await page.$$eval(".pagedjs_page", (r) => r.length);
expect(pages).toBe(1);
expect(pages).toBe(5);
})
if (!DEBUG) {
......
......@@ -73,6 +73,7 @@ class Page {
this.id = id;
page.dataset.pageNumber = pgnum+1;
page.setAttribute('id', id);
if (this.name) {
page.classList.add("pagedjs_" + this.name + "_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