|
1 | | -<!DOCTYPE html> |
| 1 | +<!doctype html> |
2 | 2 | <!-- |
3 | 3 | Copyright 2014 Mozilla Foundation |
4 | 4 |
|
|
15 | 15 | limitations under the License. |
16 | 16 | --> |
17 | 17 | <html dir="ltr" mozdisallowselectionprint> |
18 | | -<head> |
19 | | - <meta charset="utf-8"> |
20 | | - <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> |
21 | | - <meta name="google" content="notranslate"> |
22 | | - <title>PDF.js Single Page Viewer using built components</title> |
23 | | - |
24 | | - <style> |
25 | | - body { |
26 | | - background-color: #808080; |
27 | | - margin: 0; |
28 | | - padding: 0; |
29 | | - } |
30 | | - #viewerContainer { |
31 | | - overflow: auto; |
32 | | - position: absolute; |
33 | | - width: 100%; |
34 | | - height: 100%; |
35 | | - } |
36 | | - </style> |
37 | | - |
38 | | - <link rel="stylesheet" href="../../node_modules/pdfjs-dist/web/pdf_viewer.css"> |
39 | | - |
40 | | - <script src="../../node_modules/pdfjs-dist/build/pdf.mjs" type="module"></script> |
41 | | - <script src="../../node_modules/pdfjs-dist/web/pdf_viewer.mjs" type="module"></script> |
42 | | -</head> |
43 | | - |
44 | | -<body tabindex="1"> |
45 | | - <div id="viewerContainer"> |
46 | | - <div id="viewer" class="pdfViewer"></div> |
47 | | - </div> |
48 | | - |
49 | | - <script src="singlepageviewer.mjs" type="module"></script> |
50 | | -</body> |
| 18 | + <head> |
| 19 | + <meta charset="utf-8" /> |
| 20 | + <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" /> |
| 21 | + <meta name="google" content="notranslate" /> |
| 22 | + <title>PDF.js Single Page Viewer using built components</title> |
| 23 | + |
| 24 | + <style> |
| 25 | + body { |
| 26 | + background-color: #808080; |
| 27 | + margin: 0; |
| 28 | + padding: 0; |
| 29 | + } |
| 30 | + #viewerContainer { |
| 31 | + overflow: auto; |
| 32 | + position: absolute; |
| 33 | + width: 100%; |
| 34 | + height: 100%; |
| 35 | + } |
| 36 | + </style> |
| 37 | + |
| 38 | + <link rel="stylesheet" href="../../node_modules/pdfjs-dist/web/pdf_viewer.css" /> |
| 39 | + |
| 40 | + <script src="../../node_modules/pdfjs-dist/build/pdf.mjs" type="module"></script> |
| 41 | + <script src="../../node_modules/pdfjs-dist/web/pdf_viewer.mjs" type="module"></script> |
| 42 | + </head> |
| 43 | + |
| 44 | + <body tabindex="1"> |
| 45 | + <div id="viewerContainer"> |
| 46 | + <div id="viewer" class="pdfViewer"></div> |
| 47 | + </div> |
| 48 | + |
| 49 | + <script src="singlepageviewer.mjs" type="module"></script> |
| 50 | + </body> |
51 | 51 | </html> |
0 commit comments