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

Using pre-built code for testing.

This commit is contained in:
Yury Delendik 2017-05-30 10:28:50 -05:00 committed by Jonas Jenwald
parent 263479fd6a
commit b66b705ed7
6 changed files with 21 additions and 27 deletions

View file

@ -60,7 +60,7 @@ function initializePDFJS(callback) {
var displayGlobal = modules[0];
// Configure the worker.
displayGlobal.PDFJS.workerSrc = '../../src/worker_loader.js';
displayGlobal.PDFJS.workerSrc = '../../build/generic/build/pdf.worker.js';
// Opt-in to using the latest API.
displayGlobal.PDFJS.pdfjsNext = true;