Rename pdf-reader paths to reader

This commit is contained in:
Martynas Bagdonas 2023-08-08 11:28:00 +03:00
parent 838a3090fd
commit 879109336a
4 changed files with 5 additions and 5 deletions

View file

@ -340,7 +340,7 @@
type="content"
primary="true"
transparent="transparent"
src="resource://zotero/pdf-reader/reader.html"
src="resource://zotero/reader/reader.html"
flex="1"/>
<popupset id="zotero-reader-popupset">
</popupset>

View file

@ -24,8 +24,8 @@
*/
const WORKER_URL = 'chrome://zotero/content/xpcom/pdfWorker/worker.js';
const CMAPS_URL = 'resource://zotero/pdf-reader/pdf/web/cmaps/';
const STANDARD_FONTS_URL = 'resource://zotero/pdf-reader/pdf/web/standard_fonts/';
const CMAPS_URL = 'resource://zotero/reader/pdf/web/cmaps/';
const STANDARD_FONTS_URL = 'resource://zotero/reader/pdf/web/standard_fonts/';
const RENDERER_URL = 'resource://zotero/pdf-renderer/renderer.html';
class PDFWorker {

View file

@ -992,7 +992,7 @@ class ReaderTab extends ReaderInstance {
this._iframe.setAttribute('class', 'reader');
this._iframe.setAttribute('flex', '1');
this._iframe.setAttribute('type', 'content');
this._iframe.setAttribute('src', 'resource://zotero/pdf-reader/reader.html');
this._iframe.setAttribute('src', 'resource://zotero/reader/reader.html');
this._tabContainer.appendChild(this._iframe);
this._iframe.docShell.windowDraggingAllowed = true;

View file

@ -3,7 +3,7 @@
<head>
<meta charset="utf-8">
<title>PDF Renderer</title>
<script src="resource://zotero/pdf-reader/pdf.js"></script>
<script src="resource://zotero/reader/pdf.js"></script>
<script src="renderer.js"></script>
</head>
<body></body>