<?php
/* 
*      Robo Gallery     
*      Version: 3.2.14 - 40722
*      By Robosoft
*
*      Contact: https://robogallery.co/ 
*      Created: 2021
*      Licensed under the GPLv2 license - http://opensource.org/licenses/gpl-2.0.php

 */

if ( ! defined( 'WPINC' ) ) exit;

class  roboGalleryModuleAssetsV1 extends roboGalleryModuleAssets{

	protected function initJsFilesListAlt(){			
		$this->files['js']['robo-gallery-alt'] = array( 'url' => ROBO_GALLERY_URL.'js/robo_gallery_alt.js', 'depend' => array() );

		$this->files['js'] = apply_filters( 'robogallery_legacy_assets_js_alt', $this->files['js'], $this );
	}

	protected function initJsFilesList(){	
		$this->files['js']['jquery'] 		= array( 'url' => '',  									 'depend' => array()  );
		$this->files['js']['robo-gallery'] 	= array( 'url' => ROBO_GALLERY_URL.'js/robo_gallery.js', 'depend' => array('jquery') );

		$this->files['js'] = apply_filters( 'robogallery_legacy_assets_js', $this->files['js'], $this );
	}

	protected function initCssFilesList(){
		$this->files['css']['gallery'] = array( 'url' => ROBO_GALLERY_URL.'css/gallery.css', 'depend' => array() );

		if( get_option( ROBO_GALLERY_PREFIX.'fontLoad', 'on' )=='on'){
			$this->files['css']['font'] = array( 'url' => ROBO_GALLERY_URL.'css/gallery.font.css', 'depend' => array() );
		}

		$this->files['css'] = apply_filters( 'robogallery_legacy_assets_css', $this->files['css'], $this );
	}

}
