mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-26 10:08:06 +02:00
Merge pull request #2058 from Pimm/master
Small fixes for normal and potential post-compilation bugs
This commit is contained in:
commit
75e928c102
9 changed files with 53 additions and 29 deletions
|
@ -269,7 +269,8 @@ var JpxImage = (function JpxImageClosure() {
|
|||
cod.resetContextProbabilities ||
|
||||
cod.terminationOnEachCodingPass ||
|
||||
cod.verticalyStripe || cod.predictableTermination)
|
||||
throw 'Unsupported COD options: ' + uneval(cod);
|
||||
throw 'Unsupported COD options: ' +
|
||||
globalScope.JSON.stringify(cod);
|
||||
|
||||
if (context.mainHeader)
|
||||
context.COD = cod;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue