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:
parent
85750aa7f3
commit
74015f70ee
2 changed files with 3 additions and 9 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue