mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
PDF --> PDFJS, global wrapper named
This commit is contained in:
parent
135af5df13
commit
1d4e3025b6
5 changed files with 12 additions and 12 deletions
|
@ -82,7 +82,7 @@ function nextTask() {
|
|||
getPdf(task.file, function nextTaskGetPdf(data) {
|
||||
var failure;
|
||||
try {
|
||||
task.pdfDoc = new PDFDoc(data);
|
||||
task.pdfDoc = new PDFJS.PDFDoc(data);
|
||||
} catch (e) {
|
||||
failure = 'load PDF doc : ' + e.toString();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue