pdf.js/test/resources
Jonas Jenwald 4ef1a129fa Replace the remaining Node.removeChild() instances with Element.remove()
Using `Element.remove()` is a slightly more compact way of removing an element, since you no longer need to explicitly find/use its parent element.
Furthermore, the patch also replaces a couple of loops that're used to delete all elements under a node with simply overwriting the contents directly (a pattern already used throughout the viewer).

See also:
 - https://developer.mozilla.org/en-US/docs/Web/API/Node/removeChild
 - https://developer.mozilla.org/en-US/docs/Web/API/Element/remove
2021-11-16 17:52:50 +01:00
..
favicon.ico Add favicon.ico file 2011-06-24 19:25:03 -07:00
reftest-analyzer.css Fix *most* linting/formatting issues in the test/resources/ folder 2021-08-04 13:59:21 +02:00
reftest-analyzer.html Magnifier positioning in reftest analyzer 2020-03-10 19:09:15 +02:00
reftest-analyzer.js Replace the remaining Node.removeChild() instances with Element.remove() 2021-11-16 17:52:50 +01:00