| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 6 |
| Changes | 0 | ||
| 1 | <?php |
||
| 35 | public function registerAssetFiles($view) |
||
| 36 | { |
||
| 37 | $nodigitLib = preg_replace('/[0-9]+/', '', $this->library); |
||
| 38 | $this->js[] = $this->library . '-editable/js/' . $nodigitLib . '-editable' . (YII_DEBUG ? '.js' : '.min.js'); |
||
| 39 | $this->css[] = $this->library . '-editable/css/' . $nodigitLib . '-editable.css'; |
||
| 40 | |||
| 41 | parent::registerAssetFiles($view); |
||
| 42 | } |
||
| 43 | } |
||
| 44 |