8eeb0bcbe4
This way it's no longer necessary to load it as a script in the html-files.
27 lines
759 B
HTML
27 lines
759 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>pdf.js unit test</title>
|
|
|
|
<link rel="stylesheet" type="text/css" href="../../node_modules/jasmine-core/lib/jasmine-core/jasmine.css">
|
|
|
|
<script src="../../node_modules/jasmine-core/lib/jasmine-core/jasmine.js"></script>
|
|
<script src="../../node_modules/jasmine-core/lib/jasmine-core/jasmine-html.js"></script>
|
|
|
|
<script defer src="../../node_modules/es-module-shims/dist/es-module-shims.js"></script>
|
|
<script type="importmap-shim">
|
|
{
|
|
"imports": {
|
|
"pdfjs/": "../../src/",
|
|
"pdfjs-lib": "../../src/pdf.js",
|
|
"pdfjs-web/": "../../web/",
|
|
"pdfjs-test/": "../"
|
|
}
|
|
}
|
|
</script>
|
|
<script src="jasmine-boot.js" type="module-shim"></script>
|
|
</head>
|
|
<body>
|
|
</body>
|
|
</html>
|