Skip to content

Commit

Permalink
Re-enable quote modelling which was somehow disabled (ugh!).
Browse files Browse the repository at this point in the history
  • Loading branch information
lifthrasiir committed Aug 19, 2021
1 parent 3299ba3 commit 19b15aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ export class Packer {
this.options.inBits = this.combinedInput.every(c => c <= 0x7f) ? 7 : 8;
this.options.outBits = 6;
// TODO again, this should be controlled dynamically
this.options.modelQuotes = this.preparedJs.length > 0;
this.options.modelQuotes = this.preparedJs.code.length > 0;
}

static prepareText(inputs) {
Expand Down

0 comments on commit 19b15aa

Please sign in to comment.