-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathChatAsset.php
More file actions
37 lines (34 loc) · 800 Bytes
/
ChatAsset.php
File metadata and controls
37 lines (34 loc) · 800 Bytes
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
<?php
/**
* @link https://github.com/bubasuma/yii2-simplechat
* @copyright Copyright (c) 2015 bubasuma
* @license http://opensource.org/licenses/BSD-3-Clause
*/
namespace bubasuma\simplechat;
use yii\web\AssetBundle;
/**
* Class ChatAsset
* @package bubasuma\simplechat
*
* @author Buba Suma <bubasuma@gmail.com>
* @since 1.0
*/
class ChatAsset extends AssetBundle
{
public $css = [
'//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css',
'css/yiiSimpleChat.css',
];
public $js = [
'js/yiiSimpleChat.js'
];
public $depends = [
'bubasuma\simplechat\BaseAsset',
'bubasuma\simplechat\TwigAsset',
];
public function init()
{
parent::init();
$this->sourcePath = __DIR__ . '/assets';
}
}