<?php

if ( ! defined( 'ABSPATH' ) ) {
	exit; // disable direct access
}

add_action( 'wp_enqueue_scripts', 'jet_menu_storefront_scripts', 0 );

/**
 * Enqueue storefront compatibility script
 *
 * @return void
 */
function jet_menu_storefront_scripts() {
	wp_enqueue_script(
		'jet-menu-storefront',
		jet_menu()->integration_manager->get_theme_url( 'assets/js/script.js' ),
		array( 'jquery' ),
		jet_menu()->get_version(),
		true
	);
}
