pdf.js/src
Jonas Jenwald 814fa1dee3 Remove most assert() calls (issue 8506)
This replaces `assert` calls with `throw new FormatError()`/`throw new Error()`.
In a few places, throwing an `Error` (which is what `assert` meant) isn't correct since the enclosing function is supposed to return a `Promise`, hence some cases were changed to `Promise.reject(...)` and similarily for `createPromiseCapability` instances.
2017-07-21 18:51:02 +02:00
..
core Remove most assert() calls (issue 8506) 2017-07-21 18:51:02 +02:00
display Remove most assert() calls (issue 8506) 2017-07-21 18:51:02 +02:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
shared Add Number.isNaN and Number.isInteger polyfills in compatibility.js, since the Streams polyfill relies on them 2017-07-13 12:02:14 +02:00
doc_helper.js Switch to using ESLint, instead of JSHint, for linting 2016-12-16 21:06:36 +01:00
license_header.js Replace copyright headers; changes UMD to CommonJS. 2017-02-08 16:35:58 -06:00
pdf.js Removes last UMDs from the modules. 2017-05-31 07:14:17 -05:00
pdf.worker.entry.js Switch to using ESLint, instead of JSHint, for linting 2016-12-16 21:06:36 +01:00
pdf.worker.js ES6 modules: remove UMD header validation 2017-03-04 21:43:25 +01:00
worker_loader.js Replaces RequireJS to SystemJS. 2017-02-27 08:32:39 -06:00