mostly finished rewrite

This commit is contained in:
Violet
2024-12-18 12:31:06 -07:00
parent bab7a0ca27
commit d28c65e66b
2906 changed files with 227775 additions and 105 deletions
+10
View File
@@ -0,0 +1,10 @@
import collectElements from './collectElements';
/**
* Collects all parent elements of a given element.
*
* @param node the element
*/
export default function parents(node) {
return collectElements(node, 'parentElement');
}