Rocky_Mountain_Vending/.pnpm-store/v10/files/b3/707fb0d4b465e5912657de412fbac91cf82a545782d5fd13008234a66ba784aa980ba9ca5e3038ca667ae18920ab7a0e28dcfb74954da19a71facda3204832
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
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>
2026-02-12 16:22:15 -07:00

17 lines
No EOL
474 B
Text

"use strict";
exports.__esModule = true;
exports.default = hasClass;
/**
* Checks if a given element has a CSS class.
*
* @param element the element
* @param className the CSS class name
*/
function hasClass(element, className) {
if (element.classList) return !!className && element.classList.contains(className);
return (" " + (element.className.baseVal || element.className) + " ").indexOf(" " + className + " ") !== -1;
}
module.exports = exports["default"];