1
0
Fork 0
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:
Artur Adib 2011-10-26 14:46:57 -04:00
parent 135af5df13
commit 1d4e3025b6
5 changed files with 12 additions and 12 deletions

View file

@ -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();
}