mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Un-inline pdf.js for the extension/mozcentral and remove fetch pdf by content code.
This commit is contained in:
parent
3c5a9ba64b
commit
babd8df176
5 changed files with 25 additions and 68 deletions
|
@ -1,15 +1,4 @@
|
|||
<!-- This snippet is used in firefox extension, see Makefile -->
|
||||
<base href="resource://pdf.js/web/" />
|
||||
<script type="text/javascript" src="l10n.js"></script>
|
||||
<script type="text/javascript" id="PDFJS_SCRIPT_TAG">
|
||||
<!--
|
||||
// pdf.js is inlined here because resource:// urls won't work
|
||||
// for loading workers.
|
||||
//#include ../build/pdf.js
|
||||
-->
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
// This specifies the location of the pdf.js file.
|
||||
PDFJS.isFirefoxExtension = true;
|
||||
PDFJS.workerSrc = 'none';
|
||||
</script>
|
||||
<script type="text/javascript" src="../build/pdf.js"></script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue