mirror of
https://github.com/a2nt/webpack-bootstrap-ui-kit.git
synced 2024-09-08 10:41:20 +02:00
8 lines
291 B
Plaintext
8 lines
291 B
Plaintext
/*!
|
|
* Get all of an element's parent elements up the DOM tree
|
|
* (c) 2019 Chris Ferdinandi, MIT License, https://gomakethings.com
|
|
* @param {Node} elem The element
|
|
* @param {String} selector Selector to match against [optional]
|
|
* @return {Array} The parent elements
|
|
*/
|