From b17da309ed2207b8ffb86d3c713b65bbd8ef01fc Mon Sep 17 00:00:00 2001 From: Tim van der Meij Date: Tue, 27 Jan 2015 22:40:12 +0100 Subject: [PATCH] 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 5a3ccd315..1b018603d 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 3b5e6175a..b6c1403d3 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