1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-25 17:48:07 +02:00

hello world fixed

This commit is contained in:
Artur Adib 2011-10-25 10:53:18 -07:00
parent 85750aa7f3
commit 74015f70ee
2 changed files with 3 additions and 9 deletions

View file

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