mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Add missing b2g snippet.
This commit is contained in:
parent
11be208388
commit
0bf583412a
1 changed files with 9 additions and 0 deletions
9
web/viewer-snippet-b2g.html
Normal file
9
web/viewer-snippet-b2g.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
<!-- This snippet is used in b2g, see Makefile -->
|
||||
<link rel="resource" type="application/l10n" href="locale.properties"/>
|
||||
<script type="text/javascript" src="l10n.js"></script>
|
||||
<script type="text/javascript" src="../build/pdf.js"></script>
|
||||
<script type="text/javascript">
|
||||
// This specifies the location of the pdf.js file.
|
||||
PDFJS.workerSrc = "../build/pdf.js";
|
||||
PDFJS.disableTextLayer = true;
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue