Skip to content

Commit 0bf5834

Browse files
committed
Add missing b2g snippet.
1 parent 11be208 commit 0bf5834

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

web/viewer-snippet-b2g.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<!-- This snippet is used in b2g, see Makefile -->
2+
<link rel="resource" type="application/l10n" href="locale.properties"/>
3+
<script type="text/javascript" src="l10n.js"></script>
4+
<script type="text/javascript" src="../build/pdf.js"></script>
5+
<script type="text/javascript">
6+
// This specifies the location of the pdf.js file.
7+
PDFJS.workerSrc = "../build/pdf.js";
8+
PDFJS.disableTextLayer = true;
9+
</script>

0 commit comments

Comments
 (0)