Conditions | 1 |
Paths | 1 |
Total Lines | 22 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
34 | public function init() |
||
35 | { |
||
36 | // define the path that your publishable resources live |
||
37 | $this->sourcePath = "@angellco/spoon/assetbundles/dist"; |
||
38 | |||
39 | // define the dependencies |
||
40 | $this->depends = [ |
||
41 | CpAsset::class, |
||
42 | MatrixAsset::class |
||
43 | ]; |
||
44 | |||
45 | // define the relative path to CSS/JS files that should be registered with the page |
||
46 | // when this asset bundle is registered |
||
47 | $this->js = [ |
||
48 | 'js/FieldManipulator.min.js', |
||
49 | ]; |
||
50 | |||
51 | $this->css = [ |
||
52 | 'css/main.min.css', |
||
53 | ]; |
||
54 | |||
55 | parent::init(); |
||
56 | } |
||
77 |