Browse Source

Rename DocumentOutlineView to PDFOutlineView

Tim van der Meij 10 years ago
parent
commit
b17da309ed
  1. 2
      web/pdf_outline_view.js
  2. 4
      web/viewer.js

2
web/pdf_outline_view.js

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

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, DocumentOutlineView, DocumentAttachmentsView,
DocumentProperties, PDFOutlineView, DocumentAttachmentsView,
OverlayManager, PDFFindController, PDFFindBar, getVisibleElements,
watchScroll, PDFViewer, PDFRenderingQueue, PresentationModeState,
RenderingStates, DEFAULT_SCALE, UNKNOWN_SCALE,
@ -967,7 +967,7 @@ var PDFViewerApplication = { @@ -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

Loading…
Cancel
Save