From: Artur Adib Date: Tue, 25 Oct 2011 17:53:18 +0000 (-0700) Subject: hello world fixed X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=74015f70ee0f3c7e921df6291a5e46b8507c7ef9;p=pdf.js.git hello world fixed --- diff --git a/examples/helloworld/hello.js b/examples/helloworld/hello.js index 9c653ca..15acbf2 100644 --- a/examples/helloworld/hello.js +++ b/examples/helloworld/hello.js @@ -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; diff --git a/examples/helloworld/index.html b/examples/helloworld/index.html index 2aa30b4..1691619 100644 --- a/examples/helloworld/index.html +++ b/examples/helloworld/index.html @@ -3,13 +3,7 @@ - - - - - - - +