estools/esquery

How do I get the ancestor list?

foresightyj opened this issue · 0 comments

The closest I could find is discusssed here but the pull request is not merged.
#45

In dom, once I get a node via css selector, I always have a parentNode property to trace up to the root of the tree.