Skip to content
This repository was archived by the owner on Oct 4, 2020. It is now read-only.

Add toArray to NodeList #117

Merged
merged 1 commit into from
Jul 28, 2017
Merged

Add toArray to NodeList #117

merged 1 commit into from
Jul 28, 2017

Conversation

i-am-tom
Copy link

Hey, @garyb :) Turns out I'm pretty unoriginal. This would be pretty useful for breaking up NodeList as the dom-classy goodness all exists for individual Node items.

Also, as an added treat, I remembered to export it this time!
Cheers :D

Having added the `toArray` for HTMLCollection to help with results of
getElementsByTagName, I had a similar need arise for querySelectorAll.
This behaviour has now been implemented, and actually exported this
time!
@garyb
Copy link
Member

garyb commented Jul 28, 2017

Thanks! 😉

@garyb garyb merged commit 63045ac into purescript-deprecated:master Jul 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants