pdf.js/src/shared
Tim van der Meij b3818d5c36 Replace div.dataset with a WeakMap in text_layer.js
This patch improves performance by avoiding unnecessary type
conversions, which also help the JIT for optimizations.

Moreover, this patch fixes issues with the div expansion code where
`textScale` would be undefined in a division. Because of the `dataset`
usage, other comparisons evaluated to `true` while `false` would have
been correct. This makes the expansion mode now work correctly for cases
with, for example, each glyph in one div.

The polyfill for `WeakMap` has been provided by @yurydelendik.
2016-09-03 20:06:42 +02:00
..
cffStandardStrings.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
fonts_utils.js Uses editorconfig to maintain consistent coding styles 2015-11-14 07:32:18 +05:30
util.js Replace div.dataset with a WeakMap in text_layer.js 2016-09-03 20:06:42 +02:00