forked from yiichina/yii2-md-editor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FileUploadAsset.php
30 lines (28 loc) · 882 Bytes
/
FileUploadAsset.php
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
<?php
namespace yiichina\mdeditor;
use yii\web\AssetBundle;
class FileUploadAsset extends AssetBundle
{
// The files are not web directory accessible, therefore we need
// to specify the sourcePath property. Notice the @vendor alias used.
public $sourcePath = '@bower/blueimp-file-upload';
public $css = [
'css/jquery.fileupload.css',
'css/jquery.fileupload-ui.css',
];
public $js = [
'js/vendor/jquery.ui.widget.js',
'js/jquery.iframe-transport.js',
'js/jquery.fileupload.js',
'js/jquery.fileupload-process.js',
'js/jquery.fileupload-image.js',
'js/jquery.fileupload-validate.js',
'js/jquery.fileupload-ui.js',
];
public $depends = [
'yiichina\mdeditor\TmplAsset',
'yiichina\mdeditor\LoadImageAsset',
'yiichina\mdeditor\GalleryAsset',
'yiichina\mdeditor\UploaderAsset',
];
}