[Pkg-javascript-commits] [pdf.js] 81/116: Rename DocumentOutlineView to PDFOutlineView

David Prévot taffit at moszumanska.debian.org
Fri Mar 6 16:20:03 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 b17da309ed2207b8ffb86d3c713b65bbd8ef01fc
Author: Tim van der Meij <timvandermeij at gmail.com>
Date:   Tue Jan 27 22:40:12 2015 +0100

    Rename DocumentOutlineView to PDFOutlineView
---
 web/pdf_outline_view.js | 2 +-
 web/viewer.js           | 4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/web/pdf_outline_view.js b/web/pdf_outline_view.js
index 5a3ccd3..1b01860 100644
--- a/web/pdf_outline_view.js
+++ b/web/pdf_outline_view.js
@@ -17,7 +17,7 @@
 
 'use strict';
 
-var DocumentOutlineView = function documentOutlineView(options) {
+var PDFOutlineView = function documentOutlineView(options) {
   var outline = options.outline;
   var outlineView = options.outlineView;
   while (outlineView.firstChild) {
diff --git a/web/viewer.js b/web/viewer.js
index 3b5e617..b6c1403 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, DocumentOutlineView, DocumentAttachmentsView,
+           DocumentProperties, PDFOutlineView, DocumentAttachmentsView,
            OverlayManager, PDFFindController, PDFFindBar, getVisibleElements,
            watchScroll, PDFViewer, PDFRenderingQueue, PresentationModeState,
            RenderingStates, DEFAULT_SCALE, UNKNOWN_SCALE,
@@ -967,7 +967,7 @@ var PDFViewerApplication = {
     Promise.all(promises).then(function() {
       pdfDocument.getOutline().then(function(outline) {
         var outlineView = document.getElementById('outlineView');
-        self.outline = new DocumentOutlineView({
+        self.outline = new PDFOutlineView({
           outline: outline,
           outlineView: outlineView,
           linkService: self

-- 
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