mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 17:30:09 +02:00
Make worker support work again after file split. Add PDFJS_WORKER_DIR/PDFJS_WORKER_FILE to specify where to load files if worker support is enabled
This commit is contained in:
parent
21a6467b23
commit
1e6d1f9922
8 changed files with 91 additions and 46 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
'use strict';
|
||||
|
||||
PDFJS.getPdf('helloworld.pdf', function getPdfHelloWorld(data) {
|
||||
getPdf('helloworld.pdf', function getPdfHelloWorld(data) {
|
||||
//
|
||||
// Instantiate PDFDoc with PDF data
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue