mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Convert src/display/svg.js
to ES6 syntax
In particular, this should reduce intermediate string creation by using template strings and reduce variable lookup times by removing unneeded variables and caching `this.current` in more places.
This commit is contained in:
parent
47f208df36
commit
47d3620d5a
1 changed files with 1104 additions and 1119 deletions
2223
src/display/svg.js
2223
src/display/svg.js
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue