- Updated all component headers and documentation
- Changed navbar and footer branding
- Updated homepage hero badge
- Modified page title in index.html
- Simplified footer text to 'Built with ❤️'
- Consistent V2 capitalization across all references
10 lines
250 B
JavaScript
10 lines
250 B
JavaScript
var toArray = Function.prototype.bind.call(Function.prototype.call, [].slice);
|
|
/**
|
|
* Collects all child nodes of an element.
|
|
*
|
|
* @param node the node
|
|
*/
|
|
|
|
export default function childNodes(node) {
|
|
return node ? toArray(node.childNodes) : [];
|
|
} |