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>
11 lines
No EOL
305 B
Text
11 lines
No EOL
305 B
Text
var toArray = Function.prototype.bind.call(Function.prototype.call, [].slice);
|
|
/**
|
|
* Runs `querySelectorAll` on a given element.
|
|
*
|
|
* @param element the element
|
|
* @param selector the selector
|
|
*/
|
|
|
|
export default function qsa(element, selector) {
|
|
return toArray(element.querySelectorAll(selector));
|
|
} |