Conditions | 1 |
Paths | 1 |
Total Lines | 20 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
18 | public function init() |
||
19 | { |
||
20 | $this->sourcePath = __DIR__.'/dist'; |
||
21 | |||
22 | // define the dependencies |
||
23 | $this->depends = [ |
||
24 | CpAsset::class, |
||
25 | ]; |
||
26 | |||
27 | // define the relative path to CSS/JS files that should be registered with the page |
||
28 | // when this asset bundle is registered |
||
29 | $this->js = [ |
||
30 | 'InsightsWidget.js', |
||
31 | ]; |
||
32 | |||
33 | $this->css = [ |
||
34 | 'insights-widget.css', |
||
35 | ]; |
||
36 | |||
37 | parent::init(); |
||
38 | } |
||
39 | } |