Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
10 lines
No EOL
250 B
Text
10 lines
No EOL
250 B
Text
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) : [];
|
|
} |