pdf.js/examples/acroforms
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
..
acroforms.html Adds gulp dist-install command; using pdfjs-dist package in examples. 2017-06-12 10:22:16 -05:00
acroforms.js Enable ESLint rules that no longer need to be disabled on a directory/file-basis 2021-01-22 17:47:03 +01:00
README.md Clarify that gulp dist-install should be used for the AcroForms example 2019-01-05 15:20:50 +01:00

Overview

Example to demonstrate PDF.js library usage for rendering files with AcroForms.

Getting started

Build and install PDF.js using gulp dist-install and run gulp server to start a web server. You can then work with the example at http://localhost:8888/examples/acroforms/acroforms.html.

Refer to acroforms.js for the source code of the example.