mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Make worker support work again after file split. Add PDFJS_WORKER_DIR/PDFJS_WORKER_FILE to specify where to load files if worker support is enabled
This commit is contained in:
parent
21a6467b23
commit
1e6d1f9922
8 changed files with 91 additions and 46 deletions
|
@ -1,2 +1,7 @@
|
|||
<!-- 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";
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue