2011-09-16 01:28:58 +09:00
|
|
|
<!doctype html>
|
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
2011-10-26 09:22:45 +09:00
|
|
|
<!-- In production, only one script (pdf.js) is necessary -->
|
2011-11-02 03:32:20 +09:00
|
|
|
<!-- In production, change the content of PDFJS.workerSrc below -->
|
2015-11-22 01:32:47 +09:00
|
|
|
<script src="../../src/shared/global.js"></script>
|
|
|
|
<script src="../../src/display/dom_utils.js"></script>
|
2014-05-13 09:41:01 +09:00
|
|
|
<script src="../../src/shared/util.js"></script>
|
2015-11-22 01:32:47 +09:00
|
|
|
<script src="../../src/display/annotation_layer.js"></script>
|
|
|
|
<script src="../../src/display/font_loader.js"></script>
|
2014-05-13 09:41:01 +09:00
|
|
|
<script src="../../src/display/metadata.js"></script>
|
2015-11-22 01:32:47 +09:00
|
|
|
<script src="../../src/display/text_layer.js"></script>
|
2014-05-13 09:41:01 +09:00
|
|
|
<script src="../../src/display/webgl.js"></script>
|
|
|
|
<script src="../../src/display/pattern_helper.js"></script>
|
2015-11-22 01:32:47 +09:00
|
|
|
<script src="../../src/display/canvas.js"></script>
|
|
|
|
<script src="../../src/display/api.js"></script>
|
2011-10-26 09:22:45 +09:00
|
|
|
|
2014-05-13 09:41:01 +09:00
|
|
|
<script>
|
2011-11-02 03:32:20 +09:00
|
|
|
// Specify the main script used to create a new PDF.JS web worker.
|
2013-11-19 07:37:01 +09:00
|
|
|
// In production, leave this undefined or change it to point to the
|
|
|
|
// combined `pdf.worker.js` file.
|
2011-11-02 03:32:20 +09:00
|
|
|
PDFJS.workerSrc = '../../src/worker_loader.js';
|
2011-10-28 21:32:36 +09:00
|
|
|
</script>
|
2014-05-13 09:41:01 +09:00
|
|
|
<script src="hello.js"></script>
|
2011-10-28 21:32:36 +09:00
|
|
|
</head>
|
2011-09-16 01:28:58 +09:00
|
|
|
|
|
|
|
<body>
|
|
|
|
<canvas id="the-canvas" style="border:1px solid black;"/>
|
|
|
|
</body>
|
|
|
|
|
|
|
|
</html>
|