de6c92a96d
This patch: - resolves a warning in the console about missing character encoding; - makes the viewer use the same background color and PDF file as the regular viewer; - simplifies the example to bring it more in line with the other examples.
29 lines
420 B
HTML
29 lines
420 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
|
|
<title>PDF.js SVG viewer example</title>
|
|
|
|
<script src="../../node_modules/requirejs/require.js"></script>
|
|
<script src="viewer.js"></script>
|
|
|
|
<style>
|
|
body {
|
|
background-color: #404040;
|
|
}
|
|
|
|
.pageContainer {
|
|
border: 1px solid #000;
|
|
margin: 5px auto;
|
|
background-color: #FFF;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
</body>
|
|
|
|
</html>
|