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
330 B
Text
11 lines
No EOL
330 B
Text
import addEventListener from './addEventListener';
|
|
import removeEventListener from './removeEventListener';
|
|
|
|
function listen(node, eventName, handler, options) {
|
|
addEventListener(node, eventName, handler, options);
|
|
return function () {
|
|
removeEventListener(node, eventName, handler, options);
|
|
};
|
|
}
|
|
|
|
export default listen; |