Skip to content

Commit

Permalink
Merge branch 'main' into perfect-refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
acestronautical authored Feb 6, 2024
2 parents 46dcb48 + 8addbb1 commit 44421df
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/wacky_imposition.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -623,4 +623,4 @@ export class WackyImposition{
rotate180(page) {
page.vFlip = !page.vFlip;
}
}
}
2 changes: 1 addition & 1 deletion src/wacky_imposition.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ describe('WackyImposition model', () => {
const expected = {
duplex: true,
sigconfig: [],
pagelist: [[]],
pagelistdetails: [[]],
sheets: 0,
};
const actual = new WackyImposition(testPages, testDuplex, testFormat);
Expand Down

0 comments on commit 44421df

Please sign in to comment.