pdf.js/src
Tim van der Meij 980aa10e04 Refactor annotation rectangle code and add unit tests
This patch refactors the code responsible for setting the annotation's rectangle. Its goal is to:

- Actually check that the input array is actually an array, and if so, that it contains exactly four elements.
- Only call `normalizeRect` if the input array is valid, i.e., we do not call it for the default rectangle anymore.

Unit tests are provided just like with the other patches in this series.
2015-07-20 22:01:47 +02:00
..
core Refactor annotation rectangle code and add unit tests 2015-07-20 22:01:47 +02:00
display Simplify annotation data passing 2015-07-19 14:02:49 +02:00
images Vectorize the logo. 2012-10-29 14:08:52 -04:00
shared Merge pull request #5585 from timvandermeij/annotation-layer-borderstyle 2015-07-01 10:48:12 -07:00
doc_helper.js Creates make.js code to build jsdoc. 2014-04-13 15:54:24 -05:00
pdf.js Enforcing JSHint's undef option 2014-07-19 16:41:07 +02:00
worker_loader.js Stop including cidmaps.js 2014-07-25 21:53:09 +02:00