diff --git a/examples/helloworld/hello.js b/examples/helloworld/hello.js index 21799c33a..c386e7cce 100644 --- a/examples/helloworld/hello.js +++ b/examples/helloworld/hello.js @@ -30,7 +30,7 @@ ajaxGet('helloworld.pdf', function(data){ // // Instantiate PDFDoc with PDF data // - var pdf = new PDFDoc(new Stream(data)); + var pdf = new PDFDoc(data); var page = pdf.getPage(1); var scale = 1.5;