diff --git a/examples/helloworld/hello.js b/examples/helloworld/hello.js index 9c653ca24..15acbf289 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 2aa30b426..169161959 100644 --- a/examples/helloworld/index.html +++ b/examples/helloworld/index.html @@ -3,13 +3,7 @@
- - - - - - - +