| Conditions | 1 |
| Paths | 1 |
| Total Lines | 25 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | public function init() |
||
| 27 | { |
||
| 28 | // define the path that your publishable resources live |
||
| 29 | $this->sourcePath = __DIR__.'/dist'; |
||
| 30 | |||
| 31 | // define the dependencies |
||
| 32 | $this->depends = [ |
||
| 33 | CpAsset::class, |
||
| 34 | GoogleChartsAsset::class, |
||
| 35 | AnalyticsAsset::class, |
||
| 36 | ]; |
||
| 37 | |||
| 38 | // define the relative path to CSS/JS files that should be registered with the page |
||
| 39 | // when this asset bundle is registered |
||
| 40 | $this->js = [ |
||
| 41 | 'js/ReportWidgetSettings.js', |
||
| 42 | 'js/ReportWidget.js', |
||
| 43 | ]; |
||
| 44 | |||
| 45 | $this->css = [ |
||
| 46 | 'css/ReportWidget.css', |
||
| 47 | 'css/ReportWidgetSettings.css', |
||
| 48 | ]; |
||
| 49 | |||
| 50 | parent::init(); |
||
| 51 | } |
||
| 52 | } |