Browse Source

Rename DocumentAttachmentsView to PDFAttachmentView

Tim van der Meij 10 years ago
parent
commit
609e2a30e9
  1. 2
      web/pdf_attachment_view.js
  2. 4
      web/viewer.js

2
web/pdf_attachment_view.js

@ -18,7 +18,7 @@ @@ -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) {

4
web/viewer.js

@ -19,7 +19,7 @@ @@ -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 = { @@ -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…
Cancel
Save