Rename DocumentOutlineView to PDFOutlineView
This commit is contained in:
parent
3eeb571425
commit
b17da309ed
@ -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) {
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user