1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 17:48:07 +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

@ -7,11 +7,11 @@
'use strict';
PDF.getPdf('helloworld.pdf', function getPdfHelloWorld(data) {
PDFJS.getPdf('helloworld.pdf', function getPdfHelloWorld(data) {
//
// Instantiate PDFDoc with PDF data
//
var pdf = new PDF.PDFDoc(data);
var pdf = new PDFJS.PDFDoc(data);
var page = pdf.getPage(1);
var scale = 1.5;