pdf.js/src/display
Jonas Jenwald df0e1edab5 Re-factor sending of various Exceptions from the worker to the API
As can be seen in the API, there's a number of document loading Exception handlers which are both really simple and highly similar. Hence these are changed such that all the relevant Exceptions are sent via *one* message instead.

Furthermore, the patch also avoids unnecessarily re-creating `UnknownErrorException`s at the worker side and removes an unnecessary `bind` call.
2019-10-19 12:54:54 +02:00
..
annotation_layer.js Consistently use square brackets for optional parameters in JSDoc comments 2019-10-13 13:58:17 +02:00
api_compatibility.js removed safari compatibility check 2018-06-21 12:57:56 +03:00
api.js Re-factor sending of various Exceptions from the worker to the API 2019-10-19 12:54:54 +02:00
canvas.js Scale stroking line width when using a tiling pattern. 2019-07-08 13:47:54 -07:00
content_disposition.js Consistently use @returns for returned data types in JSDoc comments 2019-10-13 13:58:17 +02:00
display_utils.js Consistently use @returns for returned data types in JSDoc comments 2019-10-13 13:58:17 +02:00
fetch_stream.js Update fetch_stream.js to use const in more places 2019-05-16 09:15:43 +02:00
font_loader.js Enable the consistent-return ESLint rule 2019-05-11 14:27:21 +02:00
metadata.js When parsing Metadata, attempt to remove "junk" before the first tag (PR 10398 follow-up) 2019-01-16 12:44:27 +01:00
network_utils.js decode filename when match an urlencode filename from contentDispositionFilename 2019-07-31 09:33:56 +08:00
network.js Convert network.js to use ES6 classes 2019-05-16 10:08:51 +02:00
node_stream.js Avoid dispatching range requests to fetch PDF data that's already loaded with streaming (PR 10675 follow-up) 2019-04-13 00:26:13 +02:00
pattern_helper.js Apply bounding box before using shading patterns. 2019-07-08 14:05:48 -07:00
svg.js Implement tiling patterns for the SVG back-end 2019-06-25 16:25:25 +09:00
text_layer.js Consistently use square brackets for optional parameters in JSDoc comments 2019-10-13 13:58:17 +02:00
transport_stream.js Convert transport_stream.js to use ES6 classes 2019-05-16 09:15:39 +02:00
webgl.js Update the ESLint dependencies, and also tweak the no-multiple-empty-lines rules 2018-01-03 13:32:57 +01:00
worker_options.js Introduce a GlobalWorkerOptions object for (basic) Worker configuration 2018-02-16 13:22:35 +01:00
xml_parser.js Prevent errors, in SimpleXMLParser.onEndElement, when the stack has already been completely parsed (issue 10410) 2019-01-05 11:15:34 +01:00