diff --git a/src/wacky_imposition.js b/src/wacky_imposition.js index 77976e8..cc21632 100644 --- a/src/wacky_imposition.js +++ b/src/wacky_imposition.js @@ -11,7 +11,7 @@ export class WackyImposition{ constructor(pages, duplex,format, isPacked) { this.duplex=duplex; this.sigconfig=[] // sig_count looks at the length of this array, sig_arrange joins them together with a ,; - this.pagelist = [[]]; + this.pagelistdetails = [[]]; this.isPacked = isPacked; console.log("Constructor sees ", pages) // for UI estimates @@ -623,4 +623,4 @@ export class WackyImposition{ rotate180(page) { page.vFlip = !page.vFlip; } -} \ No newline at end of file +} diff --git a/src/wacky_imposition.test.js b/src/wacky_imposition.test.js index 6c0396b..b53b217 100644 --- a/src/wacky_imposition.test.js +++ b/src/wacky_imposition.test.js @@ -14,7 +14,7 @@ describe('WackyImposition model', () => { const expected = { duplex: true, sigconfig: [], - pagelist: [[]], + pagelistdetails: [[]], sheets: 0, }; const actual = new WackyImposition(testPages, testDuplex, testFormat);