Rename DocumentOutlineView to PDFOutlineView

This commit is contained in:
Tim van der Meij 2015-01-27 22:40:12 +01:00
parent 3eeb571425
commit b17da309ed
2 changed files with 3 additions and 3 deletions

View File

@ -17,7 +17,7 @@
'use strict'; 'use strict';
var DocumentOutlineView = function documentOutlineView(options) { var PDFOutlineView = function documentOutlineView(options) {
var outline = options.outline; var outline = options.outline;
var outlineView = options.outlineView; var outlineView = options.outlineView;
while (outlineView.firstChild) { while (outlineView.firstChild) {

View File

@ -19,7 +19,7 @@
PDFHistory, Preferences, SidebarView, ViewHistory, Stats, PDFHistory, Preferences, SidebarView, ViewHistory, Stats,
PDFThumbnailViewer, URL, noContextMenuHandler, SecondaryToolbar, PDFThumbnailViewer, URL, noContextMenuHandler, SecondaryToolbar,
PasswordPrompt, PresentationMode, HandTool, Promise, PasswordPrompt, PresentationMode, HandTool, Promise,
DocumentProperties, DocumentOutlineView, DocumentAttachmentsView, DocumentProperties, PDFOutlineView, DocumentAttachmentsView,
OverlayManager, PDFFindController, PDFFindBar, getVisibleElements, OverlayManager, PDFFindController, PDFFindBar, getVisibleElements,
watchScroll, PDFViewer, PDFRenderingQueue, PresentationModeState, watchScroll, PDFViewer, PDFRenderingQueue, PresentationModeState,
RenderingStates, DEFAULT_SCALE, UNKNOWN_SCALE, RenderingStates, DEFAULT_SCALE, UNKNOWN_SCALE,
@ -967,7 +967,7 @@ var PDFViewerApplication = {
Promise.all(promises).then(function() { Promise.all(promises).then(function() {
pdfDocument.getOutline().then(function(outline) { pdfDocument.getOutline().then(function(outline) {
var outlineView = document.getElementById('outlineView'); var outlineView = document.getElementById('outlineView');
self.outline = new DocumentOutlineView({ self.outline = new PDFOutlineView({
outline: outline, outline: outline,
outlineView: outlineView, outlineView: outlineView,
linkService: self linkService: self