forked from mozilla/pdf.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Un-inline pdf.js for the extension/mozcentral and remove fetch pdf by…
… content code.
- Loading branch information
1 parent
3c5a9ba
commit babd8df
Showing
5 changed files
with
25 additions
and
68 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters