| Total Complexity | 5 |
| Total Lines | 55 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | abstract class JsonEditorAsset extends AssetBundle |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var array list of CSS files which this bundle will use for development environment |
||
| 15 | * @see $css |
||
| 16 | */ |
||
| 17 | public $cssDev = [ |
||
| 18 | 'jsoneditor.css', |
||
| 19 | ]; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @var array list of CSS files which this bundle will use for production environment |
||
| 23 | * @see $css |
||
| 24 | */ |
||
| 25 | public $cssProd = [ |
||
| 26 | 'jsoneditor.min.css', |
||
| 27 | ]; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @var array list of JavaScript files which this bundle will use for development environment |
||
| 31 | * @see $js |
||
| 32 | */ |
||
| 33 | public $jsDev; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @var array list of JavaScript files which this bundle will use for production environment |
||
| 37 | * @see $js |
||
| 38 | */ |
||
| 39 | public $jsProd; |
||
| 40 | |||
| 41 | /** |
||
| 42 | * {@inheritdoc} |
||
| 43 | */ |
||
| 44 | public $sourcePath = '@npm/jsoneditor/dist'; |
||
| 45 | |||
| 46 | /** |
||
| 47 | * {@inheritdoc} |
||
| 48 | */ |
||
| 49 | 2 | public function init() |
|
| 68 |