pdf.js/examples/node
Jonas Jenwald 8129815538 Enable the unicorn/prefer-dom-node-append ESLint plugin rule
This rule will help enforce slightly shorter code, especially since you can insert multiple elements at once, and according to MDN `Element.append()` is available in all browsers that we currently support.

Please find additional information here:
 - https://developer.mozilla.org/en-US/docs/Web/API/Element/append
 - https://github.com/sindresorhus/eslint-plugin-unicorn/blob/main/docs/rules/prefer-dom-node-append.md
2022-06-12 13:07:03 +02:00
..
pdf2png Update (primarily) the Node.js examples to release page resources 2021-11-30 13:11:50 +01:00
.eslintrc Turn on ESLint in examples directory, apply examples-specific exceptions 2018-12-11 15:23:26 +01:00
domstubs.js Enable the unicorn/prefer-dom-node-append ESLint plugin rule 2022-06-12 13:07:03 +02:00
getinfo.js Remove mention of gulp singlefile-command from examples/node/getinfo.js 2022-06-04 23:10:58 +02:00
pdf2svg.js Update (primarily) the Node.js examples to release page resources 2021-11-30 13:11:50 +01:00