mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Rename DocumentAttachmentsView to PDFAttachmentView
This commit is contained in:
parent
2c19d99a2e
commit
609e2a30e9
2 changed files with 3 additions and 3 deletions
|
@ -18,7 +18,7 @@
|
|||
|
||||
'use strict';
|
||||
|
||||
var DocumentAttachmentsView = function documentAttachmentsView(options) {
|
||||
var PDFAttachmentView = function documentAttachmentsView(options) {
|
||||
var attachments = options.attachments;
|
||||
var attachmentsView = options.attachmentsView;
|
||||
while (attachmentsView.firstChild) {
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
PDFHistory, Preferences, SidebarView, ViewHistory, Stats,
|
||||
PDFThumbnailViewer, URL, noContextMenuHandler, SecondaryToolbar,
|
||||
PasswordPrompt, PresentationMode, HandTool, Promise,
|
||||
DocumentProperties, PDFOutlineView, DocumentAttachmentsView,
|
||||
DocumentProperties, PDFOutlineView, PDFAttachmentView,
|
||||
OverlayManager, PDFFindController, PDFFindBar, getVisibleElements,
|
||||
watchScroll, PDFViewer, PDFRenderingQueue, PresentationModeState,
|
||||
RenderingStates, DEFAULT_SCALE, UNKNOWN_SCALE,
|
||||
|
@ -986,7 +986,7 @@ var PDFViewerApplication = {
|
|||
});
|
||||
pdfDocument.getAttachments().then(function(attachments) {
|
||||
var attachmentsView = document.getElementById('attachmentsView');
|
||||
self.attachments = new DocumentAttachmentsView({
|
||||
self.attachments = new PDFAttachmentView({
|
||||
attachments: attachments,
|
||||
attachmentsView: attachmentsView
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue