[Pkg-javascript-commits] [pdf.js] 86/116: Rename DocumentAttachmentsView to PDFAttachmentView

David Prévot taffit at moszumanska.debian.org
Fri Mar 6 16:20:04 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository pdf.js.

commit 609e2a30e9439e45bffdefcd4e8502a10bebccec
Author: Tim van der Meij <timvandermeij at gmail.com>
Date:   Tue Jan 27 21:52:14 2015 +0100

    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 fd01504..2d92000 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 85340c4..dfce686 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
         });

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/pdf.js.git



More information about the Pkg-javascript-commits mailing list