Closed kashtanoff closed 8 years ago
I have in AppAsset this code:
public $depends = ['yii\web\YiiAsset' ]; public $jsOptions = ['position' => \yii\web\View::POS_HEAD];
public $depends = ['yii\web\YiiAsset' ];
public $jsOptions = ['position' => \yii\web\View::POS_HEAD];
and
public $depends = [ '\yii\web\YiiAsset', '\yii\web\JqueryAsset', ]; in yii-comments.
public $depends = [ '\yii\web\YiiAsset', '\yii\web\JqueryAsset', ];
With this config i have 2 jquery.js in page code. One in head and one in bottom.
I have in AppAsset this code:
public $depends = ['yii\web\YiiAsset' ];
public $jsOptions = ['position' => \yii\web\View::POS_HEAD];
and
public $depends = [ '\yii\web\YiiAsset', '\yii\web\JqueryAsset', ];
in yii-comments.With this config i have 2 jquery.js in page code. One in head and one in bottom.