pdf.js/examples/svgviewer
Jonas Jenwald 4db7330677 Enable ESLint rules that no longer need to be disabled on a directory/file-basis
Given that browsers/environments without native support for both arrow functions and object shorthand properties are no longer supported in PDF.js, please refer to the compatibility information below, we can now enable a fair number of ESLint rules and also simplify/remove some `.eslintrc` files.

With the exception of the `no-alert` cases, all code changes were made automatically by using `gulp lint --fix`.

 - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions#browser_compatibility
 - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Object_initializer#browser_compatibility
2021-01-22 17:47:03 +01:00
..
index.html Modified Examples to work without systemjs 2018-07-21 16:56:06 +05:30
README.md SVG Viewer example demo 2014-06-20 08:25:05 +05:30
viewer.js Enable ESLint rules that no longer need to be disabled on a directory/file-basis 2021-01-22 17:47:03 +01:00

PDF.js using SVG

This is a project for implementing alternate backend for PDF.js using Scalable Vector Graphics. This is still a WIP. Take a look at proposal for this project.

Getting started

Take a look at src/display/svg.js to see the SVG rendering code.