Address review comments. Use only one PDFJS.workerSrc variable to specify the worker source

This commit is contained in:
Julian Viereck 2011-11-01 19:32:20 +01:00
parent 1e6d1f9922
commit 3b7829d057
9 changed files with 63 additions and 51 deletions

View file

@ -1,7 +1,6 @@
<!-- This snippet is used in production, see Makefile -->
<script type="text/javascript" src="../build/pdf.js"></script>
<script type="text/javascript">
// This specifies the location of the pdf.js file. This is necessary to
// spawn the web worker.
var PDFJS_WORKER_FILE = "../build/pdf.js";
// This specifies the location of the pdf.js file.
PDFJS.workerSrc = "../build/pdf.js";
</script>