Add missing b2g snippet.
This commit is contained in:
parent
11be208388
commit
0bf583412a
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…
x
Reference in New Issue
Block a user