From 74015f70ee0f3c7e921df6291a5e46b8507c7ef9 Mon Sep 17 00:00:00 2001 From: Artur Adib Date: Tue, 25 Oct 2011 10:53:18 -0700 Subject: [PATCH] hello world fixed --- examples/helloworld/hello.js | 4 ++-- examples/helloworld/index.html | 8 +------- 2 files changed, 3 insertions(+), 9 deletions(-) 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 @@ - - - - - - - +