fregante / select-dom

Lightweight querySelector/All wrapper that outputs an Array
https://npm.im/select-dom
MIT License
125 stars 8 forks source link

Will not deduplicate `select.all('a', [...])` elements #14

Closed fregante closed 3 years ago

fregante commented 4 years ago

This line was lost in #9

https://github.com/fregante/select-dom/blame/ef2b4a9fc4a63af10379050c0b58e1c085053e52/index.js#L46

So if the multiple querySelectorAll calls return the same elements, they are not deduplicated.