mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Address review comments. Use only one PDFJS.workerSrc variable to specify the worker source
This commit is contained in:
parent
1e6d1f9922
commit
3b7829d057
9 changed files with 63 additions and 51 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue