forked from kartik-v/yii2-popover-x
-
Notifications
You must be signed in to change notification settings - Fork 0
/
PopoverXAsset.php
37 lines (32 loc) · 906 Bytes
/
PopoverXAsset.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
<?php
/**
* @copyright Copyright © Kartik Visweswaran, Krajee.com, 2014
* @package yii2-popover-x
* @version 1.3.0
*/
namespace kartik\popover;
use Yii;
/**
* Asset bundle for PopoverX widget. Includes assets from
* bootstrap-popover-x plugin by Krajee.
*
* @see http://plugins.krajee.com/popover-x
* @see http://github.com/kartik-v/bootstrap-popover-x
* @author Kartik Visweswaran <[email protected]>
* @since 1.0
*/
class PopoverXAsset extends \kartik\base\AssetBundle
{
public $depends = [
'yii\web\YiiAsset',
'yii\bootstrap\BootstrapAsset',
'yii\bootstrap\BootstrapPluginAsset',
];
public function init()
{
$this->setSourcePath('@vendor/kartik-v/bootstrap-popover-x');
$this->setupAssets('css', ['css/bootstrap-popover-x']);
$this->setupAssets('js', ['js/bootstrap-popover-x']);
parent::init();
}
}