<?php
/**
 * Genesis Framework.
 *
 * WARNING: This file is part of the core Genesis Framework. DO NOT edit this file under any circumstances.
 * Please do all modifications in the form of a child theme.
 *
 * @package Genesis\Assets
 * @author  StudioPress
 * @license GPL-2.0+
 * @link    http://my.studiopress.com/themes/genesis/
 */

/**
 * Retrieve a handle to the script loader.
 *
 * @since 2.5.0
 *
 * @return Genesis_Script_Loader object
 */
function genesis_scripts() {

	static $_genesis_scripts = null;

	if ( null === $_genesis_scripts ) {

		require_once( PARENT_DIR . '/lib/classes/class-genesis-script-loader.php' );
		$_genesis_scripts = new Genesis_Script_Loader();
		$_genesis_scripts->add_hooks();

	}

	return $_genesis_scripts;

}

genesis_scripts();
