• Robert Knight's avatar
    Support current versions of PDF.js (#134) · 212ddc11
    Robert Knight authored
    In current versions of PDF.js, the `RenderingStates` enum is no longer
    exported as a global, and the export method appears to be dependent on
    the build configuration.
    
    Since `RenderingStates` is a trivial enum, this commit fixes the problem
    by just reproducing it in `pdfjs-rendering-states.js`.
    212ddc11
pdf.coffee 8.52 KB