Support current versions of PDF.js (#134)
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`.
Showing
Please register or sign in to comment