1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-26 10:08:06 +02:00

Syntax changed that will help minifiers/compilers (such as the Closure Compiler) in their processing. In particular, preventing said minifiers/compilers from making dangerous renames.

This commit is contained in:
Pimm Hogeling 2012-08-31 13:40:37 +02:00
parent 438e3c8f6d
commit 0fbbc5a840
5 changed files with 40 additions and 19 deletions

View file

@ -255,7 +255,7 @@ 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;