From 609e2a30e9439e45bffdefcd4e8502a10bebccec Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Tue, 27 Jan 2015 21:52:14 +0100 Subject: [PATCH] Rename DocumentAttachmentsView to PDFAttachmentView --- web/pdf_attachment_view.js | 2 +- web/viewer.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/web/pdf_attachment_view.js b/web/pdf_attachment_view.js index fd015040c..2d920001c 100644 --- a/web/pdf_attachment_view.js +++ b/web/pdf_attachment_view.js @@ -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) { diff --git a/web/viewer.js b/web/viewer.js index 85340c4d2..dfce6862f 100644 --- a/web/viewer.js +++ b/web/viewer.js @@ -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 });