hello world fixed
This commit is contained in:
parent
85750aa7f3
commit
74015f70ee
@ -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;
|
||||
|
||||
|
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user