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