forked from 2amigos/yii2-file-upload-widget
-
Notifications
You must be signed in to change notification settings - Fork 0
/
FileUploadPlusAsset.php
41 lines (36 loc) · 1.2 KB
/
FileUploadPlusAsset.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
31
32
33
34
35
36
37
38
39
40
41
<?php
/**
* @copyright Copyright (c) 2013 2amigOS! Consulting Group LLC
* @link http://2amigos.us
* @license http://www.opensource.org/licenses/bsd-license.php New BSD License
*/
namespace dosamigos\fileupload;
use yii\web\AssetBundle;
/**
* FileUploadPlusAsset
*
* @author Antonio Ramirez <[email protected]>
* @link http://www.ramirezcobos.com/
* @link http://www.2amigos.us/
* @package dosamigos\fileupload
*/
class FileUploadPlusAsset extends AssetBundle
{
public $sourcePath = '@vendor/2amigos/yii2-file-upload-widget/assets/';
public $css = [
'blueimp-file-upload/css/jquery.fileupload.css'
];
public $js = [
'blueimp-load-image/js/load-image.min.js',
'blueimp-canvas-to-blob/js/canvas-to-blob.min.js',
'blueimp-file-upload/js/jquery.iframe-transport.js',
'blueimp-file-upload/js/jquery.fileupload-process.js',
'blueimp-file-upload/js/jquery.fileupload-image.js',
'blueimp-file-upload/js/jquery.fileupload-audio.js',
'blueimp-file-upload/js/jquery.fileupload-video.js',
'blueimp-file-upload/js/jquery.fileupload-validate.js'
];
public $depends = [
'dosamigos\fileupload\FileUploadAsset',
];
}