pdf.js/web
Jonas Jenwald ff26d419dd Ensure that Scroll/Spread mode buttons are correctly reset, when the document is closed
Since the Scroll/Spread modes are now document specific, as all other properties such as page/scale/rotation, ensure that the toolbar is always correctly reset.
2018-06-30 14:54:33 +02:00
..
images Add spread modes to web viewer 2018-05-14 23:10:32 -04:00
.eslintrc Enable the no-var ESLint rule in the /web folder 2017-11-05 16:53:47 +01:00
.gitignore Remove obselete file from .gitignore 2015-01-26 16:44:45 +01:00
annotation_layer_builder.css Clean up browser-specific CSS 2018-04-04 00:25:12 +02:00
annotation_layer_builder.js Move the imageResourcesPath option to a BaseViewer/PDFPageView/AnnotationLayerBuilder option 2018-02-13 14:28:38 +01:00
app_options.js Add scrollModeOnLoad/spreadModeOnLoad default values to AppOptions 2018-06-30 12:19:02 +02:00
app.js Replace setScrollMode/setSpreadMode methods with getters/setters 2018-06-30 12:36:54 +02:00
base_viewer.js For consistency with other viewer state, remove and deprecate setting Scroll/Spread modes in the BaseViewer constructor 2018-06-30 12:36:57 +02:00
chrome-i18n-allow-access-to-file-urls.json Add translations of "Allow access to file URLs" 2015-08-14 18:59:55 +02:00
chromecom.js Change the casing of the originalURL parameter, to originalUrl, in the onOpenWithURL method 2018-06-17 13:32:30 +02:00
compressed.tracemonkey-pldi-09.pdf Add Makefile. Move some files around to make building the website easier. 2011-07-05 10:53:57 -07:00
debugger.js Remove the undocumented PDFJS.enableStats option 2018-02-13 16:56:57 +01:00
default_preferences.json Add preferences for default scroll/spread modes 2018-05-14 23:10:33 -04:00
dom_events.js ES6-ify the code in web/dom_events.js 2017-07-29 13:17:22 +02:00
download_manager.js Move the disableCreateObjectURL option from the global PDFJS object and into getDocument instead 2018-03-01 18:11:17 +01:00
firefox_print_service.js Use let/const instead of var in the printing code 2017-10-22 16:13:14 +02:00
firefoxcom.js Add a new getLanguage method to the various IL10n implementations 2018-03-25 18:49:46 +02:00
genericcom.js Move the disableCreateObjectURL option from the global PDFJS object and into getDocument instead 2018-03-01 18:11:17 +01:00
genericl10n.js Add a new getLanguage method to the various IL10n implementations 2018-03-25 18:49:46 +02:00
grab_to_pan.js Enable the no-var ESLint rule in the /web folder 2017-11-05 16:53:47 +01:00
interfaces.js Add a new getLanguage method to the various IL10n implementations 2018-03-25 18:49:46 +02:00
overlay_manager.js Convert the overlay manager to ES6 syntax 2017-05-28 21:18:18 +02:00
password_prompt.js Change var to let, and use object destructuring, in a couple of previously class converted web/*.js files 2017-07-03 11:22:49 +02:00
pdf_attachment_viewer.js Move the disableCreateObjectURL option from the global PDFJS object and into getDocument instead 2018-03-01 18:11:17 +01:00
pdf_cursor_tools.js Move the cursorToolOnLoad preference handling into AppOptions (PR 9493 follow-up) 2018-03-19 23:24:56 +01:00
pdf_document_properties.js Replace the cloneObj helper function, in the viewer, with native Object.assign (PR 9795 follow-up) 2018-06-27 20:39:39 +02:00
pdf_find_bar.js Ensure that PDFFindBar._adjustWidth is called in all situations where the width of the findbar might have changed 2017-07-05 11:34:14 +02:00
pdf_find_controller.js Move public methods above private methods in web/pdf_find_controller.js 2018-02-11 20:31:59 +01:00
pdf_history.js Replace the cloneObj helper function, in the viewer, with native Object.assign (PR 9795 follow-up) 2018-06-27 20:39:39 +02:00
pdf_link_service.js Attempt to handle corrupt PDF documents that inline Page dictionaries in a Kids array (issue 9540) 2018-03-12 14:13:23 +01:00
pdf_outline_viewer.js Move various viewer components options from PDFJS/PDFViewerApplication.viewerPrefs and into AppOptions instead 2018-03-01 18:11:16 +01:00
pdf_page_view.js Replace the PDFJS.disableWebGL option with a enableWebGL option passed, via BaseViewer/PDFPageView, to PDFPageProxy.render 2018-02-13 16:56:56 +01:00
pdf_presentation_mode.js Fix typos 2018-04-01 23:20:41 +02:00
pdf_print_service.js Move the disableCreateObjectURL option from the global PDFJS object and into getDocument instead 2018-03-01 18:11:17 +01:00
pdf_rendering_queue.js Replace a few occurences of var with let in already ES6 converted web/ files 2017-10-22 16:23:38 +02:00
pdf_sidebar_resizer.js Only resize the sidebar with the left mouse button 2017-12-02 19:05:17 +01:00
pdf_sidebar.js Layout the sidebar in the same vertical position regardless of the viewer width (issue 4052, bug 850591) 2017-10-11 18:17:28 +02:00
pdf_single_page_viewer.js Re-factor updating of Scroll/Spread modes, and place all the code in BaseViewer with overrides (as necessary) in the extending classes 2018-06-30 12:36:56 +02:00
pdf_thumbnail_view.js Refactor PDFThumbnailViewer.scrollThumbnailIntoView to avoid unnecessary DOM look-ups 2018-02-09 14:43:11 +01:00
pdf_thumbnail_viewer.js Refactor PDFThumbnailViewer.scrollThumbnailIntoView to avoid unnecessary DOM look-ups 2018-02-09 14:43:11 +01:00
pdf_viewer.component.js [api-major] Completely remove the global PDFJS object 2018-03-01 18:13:27 +01:00
pdf_viewer.css Add spread modes to web viewer 2018-05-14 23:10:32 -04:00
pdf_viewer.js Re-factor updating of Scroll/Spread modes, and place all the code in BaseViewer with overrides (as necessary) in the extending classes 2018-06-30 12:36:56 +02:00
pdfjs.js Use ES6 notation, and replace var with let, in web/pdf_viewer.component.js and web/pdfjs.js 2017-11-05 16:53:47 +01:00
preferences.js Replace the cloneObj helper function, in the viewer, with native Object.assign (PR 9795 follow-up) 2018-06-27 20:39:39 +02:00
secondary_toolbar.js Ensure that Scroll/Spread mode buttons are correctly reset, when the document is closed 2018-06-30 14:54:33 +02:00
text_layer_builder.css Clean up browser-specific CSS 2018-04-04 00:25:12 +02:00
text_layer_builder.js Convert the text layer builder to ES6 syntax 2017-06-29 23:41:25 +02:00
toolbar.js Remove the selectScaleOption helper function, in Toolbar._updateUIState, and simply inline its code instead 2017-06-26 13:06:24 +02:00
ui_utils.js Replace the cloneObj helper function, in the viewer, with native Object.assign (PR 9795 follow-up) 2018-06-27 20:39:39 +02:00
view_history.js Ensure that all entries above the current cacheSize is removed when initializing a ViewHistory instance 2018-06-26 14:07:52 +02:00
viewer_compatibility.js Remove the disableFullscreen hack for embedded IE 11 (issue 9585) 2018-06-14 12:25:28 +02:00
viewer-snippet-chrome-extension.html Wraps mozL10n to async calls; splits firefox and generic l10n libs. 2017-05-31 09:22:25 -05:00
viewer-snippet-chrome-overlays.html [CRX] Add file chooser as fallback (fixes #9411) 2018-03-21 18:21:46 +01:00
viewer-snippet-firefox-extension.html Wraps mozL10n to async calls; splits firefox and generic l10n libs. 2017-05-31 09:22:25 -05:00
viewer-snippet-minified.html Remove XHTML leftovers from the viewer HTML files 2016-02-14 13:23:34 +01:00
viewer-snippet.html Wraps mozL10n to async calls; splits firefox and generic l10n libs. 2017-05-31 09:22:25 -05:00
viewer.css Fix regression affecting the horizontal viewerContainer offset for small window widths (PR 9816 follow-up) 2018-06-15 20:27:02 +02:00
viewer.html Add spread modes to web viewer 2018-05-14 23:10:32 -04:00
viewer.js Add spread modes to web viewer 2018-05-14 23:10:32 -04:00