The linter found some issues in viewer.html with </input> which isn't required and a missing closing div in test/resources/reftest-analyzer.html. The HTML can now be nicely formatted. In order to not break the build for mozilla-central, the preprocessor has been fixed in order to take into account the white spaces at the beginning of a comment line. And finally, make .prettierrc (which is supposed to be either json or yaml) itself lintable.
25 lines
696 B
HTML
25 lines
696 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<title>PDF.js font tests</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 type="importmap">
|
|
{
|
|
"imports": {
|
|
"pdfjs/": "../../src/",
|
|
"pdfjs-lib": "../../src/pdf.js",
|
|
"pdfjs-web/": "../../web/",
|
|
"pdfjs-test/": "../"
|
|
}
|
|
}
|
|
</script>
|
|
<script src="jasmine-boot.js" type="module"></script>
|
|
</head>
|
|
<body></body>
|
|
</html>
|