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

[api-major] Remove the PDFJS_NEXT option

Nothing uses this option anymore, so setting it is a no-op now. We can
safely remove it.

Use `SKIP_BABEL` (instead of `PDFJS_NEXT`) now if you want to skip Babel
translation for a build.
This commit is contained in:
Tim van der Meij 2017-10-15 18:42:15 +02:00
parent 4fdb0f57d7
commit 7d7edd9cc6
No known key found for this signature in database
GPG key ID: 8C3FD2925A5F2762
8 changed files with 8 additions and 26 deletions

View file

@ -90,8 +90,6 @@ function initializePDFJS(callback) {
// Configure the worker.
displayGlobal.PDFJS.workerSrc = '../../build/generic/build/pdf.worker.js';
// Opt-in to using the latest API.
displayGlobal.PDFJS.pdfjsNext = true;
callback();
});