hello world fixed

This commit is contained in:
Artur Adib 2011-10-25 10:53:18 -07:00
parent 85750aa7f3
commit 74015f70ee
2 changed files with 3 additions and 9 deletions

View File

@ -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;

View File

@ -3,13 +3,7 @@
<head>
<!-- PDF.js-specific -->
<script type="text/javascript" src="../../pdf.js"></script>
<script type="text/javascript" src="../../metrics.js"></script>
<script type="text/javascript" src="../../fonts.js"></script>
<script type="text/javascript" src="../../glyphlist.js"></script>
<script type="text/javascript" src="../../worker/message_handler.js"></script>
<script type="text/javascript" src="../../worker/processor_handler.js"></script>
<script type="text/javascript" src="../../build/pdf.js"></script>
<script type="text/javascript" src="hello.js"></script>
</head>