Rename pdf-reader paths to reader
This commit is contained in:
parent
838a3090fd
commit
879109336a
4 changed files with 5 additions and 5 deletions
|
@ -340,7 +340,7 @@
|
||||||
type="content"
|
type="content"
|
||||||
primary="true"
|
primary="true"
|
||||||
transparent="transparent"
|
transparent="transparent"
|
||||||
src="resource://zotero/pdf-reader/reader.html"
|
src="resource://zotero/reader/reader.html"
|
||||||
flex="1"/>
|
flex="1"/>
|
||||||
<popupset id="zotero-reader-popupset">
|
<popupset id="zotero-reader-popupset">
|
||||||
</popupset>
|
</popupset>
|
||||||
|
|
|
@ -24,8 +24,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
const WORKER_URL = 'chrome://zotero/content/xpcom/pdfWorker/worker.js';
|
const WORKER_URL = 'chrome://zotero/content/xpcom/pdfWorker/worker.js';
|
||||||
const CMAPS_URL = 'resource://zotero/pdf-reader/pdf/web/cmaps/';
|
const CMAPS_URL = 'resource://zotero/reader/pdf/web/cmaps/';
|
||||||
const STANDARD_FONTS_URL = 'resource://zotero/pdf-reader/pdf/web/standard_fonts/';
|
const STANDARD_FONTS_URL = 'resource://zotero/reader/pdf/web/standard_fonts/';
|
||||||
const RENDERER_URL = 'resource://zotero/pdf-renderer/renderer.html';
|
const RENDERER_URL = 'resource://zotero/pdf-renderer/renderer.html';
|
||||||
|
|
||||||
class PDFWorker {
|
class PDFWorker {
|
||||||
|
|
|
@ -992,7 +992,7 @@ class ReaderTab extends ReaderInstance {
|
||||||
this._iframe.setAttribute('class', 'reader');
|
this._iframe.setAttribute('class', 'reader');
|
||||||
this._iframe.setAttribute('flex', '1');
|
this._iframe.setAttribute('flex', '1');
|
||||||
this._iframe.setAttribute('type', 'content');
|
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._tabContainer.appendChild(this._iframe);
|
||||||
this._iframe.docShell.windowDraggingAllowed = true;
|
this._iframe.docShell.windowDraggingAllowed = true;
|
||||||
|
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="utf-8">
|
<meta charset="utf-8">
|
||||||
<title>PDF Renderer</title>
|
<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>
|
<script src="renderer.js"></script>
|
||||||
</head>
|
</head>
|
||||||
<body></body>
|
<body></body>
|
||||||
|
|
Loading…
Reference in a new issue