Blame view

common/modules/fileloader/assets/FileloaderAsset.php 693 Bytes
3735dff7   Yarik   test
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
  <?php
      namespace common\modules\fileloader\assets;
  
      use yii\web\View;
  
      class FileloaderAsset extends \yii\web\AssetBundle
      {
  
          public $sourcePath = '@common/modules/fileloader/resources';
  
          public $css = [
              'fileloader.css',
          ];
  
          public $js = [
              'jquery.ui.widget.js',
              'jquery.fileupload.js',
              'jquery.iframe-transport.js',
              'handler.js',
          ];
  
          public $depends = [
              '\yii\web\YiiAsset',
              '\yii\web\JqueryAsset',
              '\yii\bootstrap\BootstrapAsset',
          ];
  
          public $jsOptions = [
              'position' => View::POS_HEAD,
          ];
  
      }