/var/www/vhosts/nabawater/common/assets
Edit: /var/www/vhosts/nabawater/common/assets/CoreAsset.php (970B)
*/
class CoreAsset extends AssetBundle
{
/**
* @var string
*/
public $sourcePath = '@common/web/assets';
/**
* @var array
*/
public $js = [
['js/runOnLoad.js', 'position' => View::POS_HEAD],
'js/core.js',
];
/**
* @var array
*/
public $depends = [
YiiAsset::class
];
/**
*
*/
public function init()
{
parent::init();
/**
* Do not change the following line
* Following code used to execute all the registered script
* on runOnLoad script
* @author A Vijay
*/
Yii::$app->getView()->registerJs('exeOnLoad.apply(arguments);');
}
}