pdf.js/web
Jonas Jenwald d6cc393cd9 Remove a superfluous linkService.isPageVisible check from PDFFindController (PR 10217 follow-up)
Unless the `PDFLinkService` instance contains all of the expected methods, a lot of things will break in various places in the default viewer. Hence there's not much value in having this check, and outright falling seems more appropriate.

Finally, this also makes the return value explicit in this case, since that's consistent with the rest of the `PDFFindController._shouldDirtyMatch` method.
2019-06-10 21:04:47 +02:00
..
images Add spread modes to web viewer 2018-05-14 23:10:32 -04:00
.eslintrc Enable eslint-plugin-import to prevent unresolved paths 2018-11-23 13:50:28 +01:00
.gitignore Remove obselete file from .gitignore 2015-01-26 16:44:45 +01:00
annotation_layer_builder.css Implement creation/modification date for annotations 2019-05-05 14:51:03 +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 make print resolution configurable via AppOptions 2019-05-24 14:01:26 +02:00
app.js Enable the consistent-return ESLint rule 2019-05-11 14:27:21 +02:00
base_viewer.js Merge pull request #10502 from Snuffleupagus/adjust-onLoad-prefs 2019-02-04 23:54:14 +01: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 Attempt to migrate the old showPreviousViewOnLoad/disablePageMode preferences to the new viewOnLoad preference 2019-02-02 10:21:18 +01: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 [Regression] Fix the FontInspector in the PDFBug debugging tools 2019-01-22 13:22:36 +01:00
download_manager.js Enable the consistent-return ESLint rule 2019-05-11 14:27:21 +02:00
firefox_print_service.js [api-minor] Change the getViewport method, on PDFPageProxy, to take a parameter object rather than a bunch of (randomly) ordered parameters 2018-12-21 11:55:20 +01:00
firefoxcom.js [Firefox] Ensure that loading progress is reported, and the loadingBar updated, when disableRange=true is set 2019-04-06 12:53:33 +02:00
genericcom.js Refactor the Preferences classes to utilize async methods rather than manually returning Promises 2018-09-03 09:52:36 +02:00
genericl10n.js Refactor the IL10n implementations to utilize async methods rather than manually returning Promises 2018-09-03 09:52:36 +02:00
grab_to_pan.js Enable the consistent-return ESLint rule 2019-05-11 14:27:21 +02:00
interfaces.js Add support for updating the document hash, off by default, when the browser history is updated (issue 5753) 2019-01-06 20:09:02 +01:00
overlay_manager.js Refactor the OverlayManager to utilize async methods rather than manually returning Promises 2018-09-03 09:52:36 +02:00
password_prompt.js Enable the consistent-return ESLint rule 2019-05-11 14:27:21 +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 Simplify resetting of the SecondaryToolbar Scroll/Spread mode buttons, and add a missing comment in PDFCursorTools 2018-07-08 10:55:56 +02:00
pdf_document_properties.js Enable the consistent-return ESLint rule 2019-05-11 14:27:21 +02:00
pdf_find_bar.js Tweak the DOMTokenList.toggle polyfill (issue 10460) 2019-01-16 20:15:44 +01:00
pdf_find_controller.js Remove a superfluous linkService.isPageVisible check from PDFFindController (PR 10217 follow-up) 2019-06-10 21:04:47 +02:00
pdf_find_utils.js Add initial support for "Whole words" searching in the viewer 2018-09-10 11:59:29 +02:00
pdf_history.js Avoid setting incorrect document URLs, in IE 11, when the browser history is updated (PR 10423 follow-up) 2019-01-16 19:26:44 +01:00
pdf_link_service.js For repeated 'findagain' operations, attempt to reset the search position if the user has e.g. scrolled in the document (issue 4141) 2018-11-03 12:03:11 +01:00
pdf_outline_viewer.js Add support for outline items, in the default viewer, which default to collapsed when the outline is built 2019-06-07 12:26:23 +02:00
pdf_page_view.js Fix {PDFPageView, PDFThumbnailView}.cancelRendering to avoid visual artifacts when called directly 2019-02-16 11:11:07 +01:00
pdf_presentation_mode.js Add source parameters to all remaining EventBus.dispatch calls that are currently missing those 2018-08-30 10:39:32 +02:00
pdf_print_service.js make print resolution configurable via AppOptions 2019-05-24 14:01:26 +02:00
pdf_rendering_queue.js Use Promise.prototype.finally in the PDFRenderingQueue.renderView method 2019-02-25 12:20:51 +01: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 Re-factor the PDFSidebar constructor to simplify its call-site (PR 10123 follow-up) 2019-02-24 13:15:24 +01:00
pdf_single_page_viewer.js Try to simplify the PDFSinglePageViewer._scrollIntoView method slightly, by unconditionally ensuring that rendering always occurs 2019-01-24 12:01:07 +01:00
pdf_thumbnail_view.js Fix {PDFPageView, PDFThumbnailView}.cancelRendering to avoid visual artifacts when called directly 2019-02-16 11:11:07 +01:00
pdf_thumbnail_viewer.js [api-minor] Change the getViewport method, on PDFPageProxy, to take a parameter object rather than a bunch of (randomly) ordered parameters 2018-12-21 11:55:20 +01:00
pdf_viewer.component.js Remove the attachDOMEventsToEventBus functionality, since EventBus instances are able to re-dispatch events to the DOM (PR 10019, bug 1492849 follow-up) 2018-10-31 23:32:39 +01:00
pdf_viewer.css Add spread modes to web viewer 2018-05-14 23:10:32 -04:00
pdf_viewer.js Move additional code/methods into BaseViewer and have the extending classes override/extend methods as necessary 2019-01-24 10:31:06 +01: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 Add type validation to the default_preferences generation (PR 10548 follow-up) 2019-03-03 12:51:57 +01:00
secondary_toolbar.js Convert more code to use classList.toggle with the force parameter 2019-02-06 17:18:45 +01:00
text_layer_builder.css Use span instead of div in the text layer 2018-11-18 15:54:08 +01:00
text_layer_builder.js Simplify the updatetextlayermatches event handling in TextLayerBuilder 2019-02-16 11:11:04 +01:00
toolbar.js Convert some occurrences, in the /web folder, of classList.{add, remove} to classList.toggle with the "force" parameter 2018-10-12 15:41:11 +02:00
ui_utils.js Modify a number of the viewer preferences, whose current default value is 0, such that they behave as expected with the view history 2019-02-02 10:21:18 +01:00
view_history.js Refactor the ViewHistory to utilize async methods rather than manually returning Promises 2018-09-03 09:52:36 +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 Stop bundling the ReadableStream polyfill in MOZCENTRAL builds (PR 10470 follow-up) 2019-01-23 20:33:20 +01: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 small visual quirk in thumbnail viewer 2018-12-18 22:48:26 +01:00
viewer.html Add initial support for "Whole words" searching in the viewer 2018-09-10 11:59:29 +02:00
viewer.js In GENERIC builds, dispatch a "webviewerloaded" event (from the webViewerLoad function) before initializing the viewer 2018-11-30 10:04:30 +01:00