mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-21 15:48:06 +02:00
[api-minor] Add a pdfjsNext
parameter, and PDFJS_NEXT
build flag, to allow backwards incompatible API changes
This commit is contained in:
parent
2b17188998
commit
6d672c4ba6
7 changed files with 20 additions and 5 deletions
|
@ -117,6 +117,7 @@ function configure(PDFJS) {
|
|||
PDFJS.cMapUrl = '../external/bcmaps/';
|
||||
PDFJS.cMapPacked = true;
|
||||
PDFJS.workerSrc = '../src/worker_loader.js';
|
||||
PDFJS.pdfjsNext = true;
|
||||
} else {
|
||||
PDFJS.cMapUrl = '../web/cmaps/';
|
||||
PDFJS.cMapPacked = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue