Blame view

common/modules/comment/assets/CommentAsset.php 623 Bytes
e608c5f7   Yarik   Comment added
1
2
  <?php
      namespace common\modules\comment\assets;
85040b57   Yarik   Comment added
3
      
e608c5f7   Yarik   Comment added
4
5
      class CommentAsset extends \yii\web\AssetBundle
      {
85040b57   Yarik   Comment added
6
          
e608c5f7   Yarik   Comment added
7
          public $sourcePath = '@common/modules/comment/resources';
85040b57   Yarik   Comment added
8
          
e608c5f7   Yarik   Comment added
9
10
          public $css = [
              'comment.css',
85040b57   Yarik   Comment added
11
              'rateit.css',
e608c5f7   Yarik   Comment added
12
          ];
85040b57   Yarik   Comment added
13
          
e608c5f7   Yarik   Comment added
14
15
          public $js = [
              'comment.js',
85040b57   Yarik   Comment added
16
              'jquery.rateit.min.js',
e608c5f7   Yarik   Comment added
17
          ];
85040b57   Yarik   Comment added
18
          
e608c5f7   Yarik   Comment added
19
20
21
22
          public $depends = [
              '\yii\web\YiiAsset',
              '\yii\web\JqueryAsset',
          ];
85040b57   Yarik   Comment added
23
          
e608c5f7   Yarik   Comment added
24
25
26
          public $jsOptions = [
              'position' => \yii\web\View::POS_HEAD,
          ];
85040b57   Yarik   Comment added
27
          
3f2bc3d0   Administrator   first commit
28
      }