1
0
Fork 0
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:
Yury Delendik 2012-09-20 11:36:55 -07:00
commit 75e928c102
9 changed files with 53 additions and 29 deletions

View file

@ -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;