1
0
Fork 0
mirror of https://github.com/mozilla/pdf.js.git synced 2025-04-20 07:08:08 +02:00
pdf.js/src
TCASAS 010d38a8c0 Fix worker resolution on using minified version
- When the minified version is used the resolver of the worker can not find it properly and throws 404 error.
- The problem was that:
  - It was getting the current name of the file.
  - It was replacing **.js** by **.worker.js**
- When it was loading the unminified version it was working fine because:
  - *pdf.js - .js + .worker.js*  = **pdf.worker.js**
- When it was loading the minified version it didtn't work because:
  - *pdf.min.js - .js + .worker.js* = **pdf.min.worker.js**
  - **pdf.min.worker.js** doesn't exist the real file name is **pdf.worker.min.js**
2017-04-10 13:41:50 +02:00
..
core Enable the prefer-promise-reject-errors ESLint rule 2017-04-08 11:47:22 +02:00
display Fix worker resolution on using minified version 2017-04-10 13:41:50 +02:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
shared ios: Patch cancelAnimationFrame whenever fakeRequestAnimationFrame is used 2017-03-31 15:31:04 -07: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
main_loader.js [api-minor] Reject the RenderTask with an actual Error, instead of just a string, when rendering is cancelled 2017-03-13 18:58:21 +01:00
pdf.js [api-minor] Reject the RenderTask with an actual Error, instead of just a string, when rendering is cancelled 2017-03-13 18:58:21 +01: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 Replacing custom bundling with webpack2. 2017-02-08 16:32:15 -06:00
worker_loader.js Replaces RequireJS to SystemJS. 2017-02-27 08:32:39 -06:00