Commit 93c2e36508f95800646dc99ad0218b926e6517b7
1 parent
79769aa4
big commti
Showing
3 changed files
with
13 additions
and
7 deletions
Show diff stats
frontend/assets/AppAsset.php
... | ... | @@ -31,13 +31,13 @@ class AppAsset extends AssetBundle |
31 | 31 | public $depends = [ |
32 | 32 | 'yii\web\JqueryAsset', |
33 | 33 | 'sersid\owlcarousel\Asset', |
34 | - 'frontend\assets\FlipclockAsset', | |
35 | 34 | 'yii\bootstrap\BootstrapPluginAsset', |
36 | 35 | |
37 | 36 | ]; |
38 | - | |
39 | - public function init() { | |
40 | - $this->jsOptions['position'] = View::POS_END; | |
41 | - parent::init(); | |
42 | - } | |
37 | + | |
38 | + public $jsOptions = [ | |
39 | + 'position' => View::POS_END | |
40 | + ]; | |
41 | + | |
42 | + | |
43 | 43 | } | ... | ... |
frontend/assets/FlipclockAsset.php