If apps are installed in non standard app paths, we need to check `$app_path/$script` instead of only doing so for translations. Without this it would fallback to `.js` extension even if a `.mjs` file exists. Also tried make the code more selfe explaining. Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de> |
||
|---|---|---|
| .. | ||
| Base.php | ||
| CSSResourceLocator.php | ||
| JSCombiner.php | ||
| JSConfigHelper.php | ||
| JSResourceLocator.php | ||
| ResourceLocator.php | ||
| ResourceNotFoundException.php | ||
| TemplateFileLocator.php | ||