ChartJsAsset
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 0
lcom 0
cbo 1
dl 0
loc 12
c 0
b 0
f 0
1
<?php
2
3
/*
4
 * This file is part of the 2amigos/yii2-chartjs-widget project.
5
 * (c) 2amigOS! <http://2amigos.us/>
6
 * For the full copyright and license information, please view
7
 * the LICENSE file that was distributed with this source code.
8
 */
9
10
namespace dosamigos\chartjs;
11
12
use yii\web\AssetBundle;
13
14
/**
15
 *
16
 * ChartPluginAsset
17
 */
18
class ChartJsAsset extends AssetBundle
19
{
20
    public $sourcePath = null;
21
22
    public $js = [
23
        'https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.bundle.min.js'
24
    ];
25
26
    public $depends = [
27
        'yii\web\JqueryAsset',
28
    ];
29
}
30