8f3940fbf3
Originally the `PDFSidebarResizer` class was slightly larger, since the code used to contain e.g. feature testing for older (and no longer supported) browsers. Given that there's some amount of overlap, when it comes to what DOM-elements and state that these classes need, it now seems reasonable to simply move the sidebar-resizing into the `PDFSidebar` class. For the MOZCENTRAL build-target this patch reduces the size of the *built* `web/viewer.js` file by just over `1.1` kilobytes.
43 lines
1.2 KiB
JavaScript
43 lines
1.2 KiB
JavaScript
/* Copyright 2023 Mozilla Foundation
|
|
*
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
* you may not use this file except in compliance with the License.
|
|
* You may obtain a copy of the License at
|
|
*
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
*
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
* See the License for the specific language governing permissions and
|
|
* limitations under the License.
|
|
*/
|
|
|
|
const AnnotationEditorParams = null;
|
|
const PDFAttachmentViewer = null;
|
|
const PDFCursorTools = null;
|
|
const PDFDocumentProperties = null;
|
|
const PDFFindBar = null;
|
|
const PDFLayerViewer = null;
|
|
const PDFOutlineViewer = null;
|
|
const PDFPresentationMode = null;
|
|
const PDFSidebar = null;
|
|
const PDFThumbnailViewer = null;
|
|
const SecondaryToolbar = null;
|
|
const Toolbar = null;
|
|
|
|
export {
|
|
AnnotationEditorParams,
|
|
PDFAttachmentViewer,
|
|
PDFCursorTools,
|
|
PDFDocumentProperties,
|
|
PDFFindBar,
|
|
PDFLayerViewer,
|
|
PDFOutlineViewer,
|
|
PDFPresentationMode,
|
|
PDFSidebar,
|
|
PDFThumbnailViewer,
|
|
SecondaryToolbar,
|
|
Toolbar,
|
|
};
|