Use node.closest() in findParent() when available since it should be faster than manaually traversing the ancestor chain. Signed-off-by: Jo-Philipp Wich <jo@mein.io> |
||
---|---|---|
.. | ||
htdocs | ||
luasrc | ||
po | ||
root | ||
src | ||
Makefile |
Use node.closest() in findParent() when available since it should be faster than manaually traversing the ancestor chain. Signed-off-by: Jo-Philipp Wich <jo@mein.io> |
||
---|---|---|
.. | ||
htdocs | ||
luasrc | ||
po | ||
root | ||
src | ||
Makefile |