Blame view

assets/CommentAsset.php 780 Bytes
a2cde075   Yarik   first commit
1
2
  <?php
      
faff2c48   Yarik   Artbox comment cr...
3
      namespace artbox\webcomment\assets;
a2cde075   Yarik   first commit
4
5
6
7
8
      
      use yii\web\AssetBundle;
      
      /**
       * Class CommentAsset
a2cde075   Yarik   first commit
9
10
11
12
13
14
15
       */
      class CommentAsset extends AssetBundle
      {
          
          /**
           * @inheritdoc
           */
faff2c48   Yarik   Artbox comment cr...
16
          public $sourcePath = '@artbox/webcomment/resources';
a2cde075   Yarik   first commit
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
          
          /**
           * @inheritdoc
           */
          public $js = [
              'artbox_comment.js',
              'jquery.rateit.min.js',
          ];
          
          /**
           * @inheritdoc
           */
          public $css = [
              'artbox_comment.css',
              'rateit.css',
          ];
          
          /**
           * @inheritdoc
           */
          public $depends = [
              'yii\web\JqueryAsset',
              'yii\web\YiiAsset',
          ];
0bacad2e   Yarik   Namespaces
41
42
      }