alafr / SVG-to-PDFKit

Insert SVG into a PDF document created with PDFKit
MIT License
397 stars 111 forks source link

TypeError: elem.classList.contains is not a function #179

Open bluewire-solutions opened 10 months ago

bluewire-solutions commented 10 months ago

elem.classList.contains contains is not a function of the array classList implementation should be elem.classList.includes in https://github.com/alafr/SVG-to-PDFKit/blob/master/source.js#L734