Add file specific aliases for framework.extras (#3936)

This commit adds two new aliases for the files associated with `framework.extras`. One to load the CSS (`framework.extras.css`) and for JS (`framework.extras.js`). Credit to @CptMeatball. Resolves #3909. Related: https://github.com/octobercms/docs/pull/334
This commit is contained in:
Antonie Hogewoning 2018-11-22 16:25:51 +01:00 committed by Luke Towers
parent 9699aacaed
commit e481206b49
1 changed files with 2 additions and 0 deletions

View File

@ -150,7 +150,9 @@ class CombineAssets
$this->registerAlias('jquery', '~/modules/backend/assets/js/vendor/jquery-and-migrate.min.js');
$this->registerAlias('framework', '~/modules/system/assets/js/framework.js');
$this->registerAlias('framework.extras', '~/modules/system/assets/js/framework.extras.js');
$this->registerAlias('framework.extras.js', '~/modules/system/assets/js/framework.extras.js');
$this->registerAlias('framework.extras', '~/modules/system/assets/css/framework.extras.css');
$this->registerAlias('framework.extras.css', '~/modules/system/assets/css/framework.extras.css');
/*
* Deferred registration