627a566c2f
This improves maintainability: 1. no need to hardcode each script file in Android code 2. no need to symlink pdf.js and pdf.worker.js 3. adds sourcemaps in debug builds to help debug some pdf.js related issues
16 lines
445 B
HTML
16 lines
445 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, user-scalable=no" />
|
|
<title>PDF</title>
|
|
<link rel="stylesheet" href="/viewer/main.css">
|
|
<script type="module" src="/viewer/js/index.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="container">
|
|
<canvas id="content"></canvas>
|
|
<div id="text" class="textLayer"></div>
|
|
</div>
|
|
</body>
|
|
</html>
|