From e481206b49c44cb5866b6d6caa4f6d8203cebb9b Mon Sep 17 00:00:00 2001 From: Antonie Hogewoning Date: Thu, 22 Nov 2018 16:25:51 +0100 Subject: [PATCH] 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 --- modules/system/classes/CombineAssets.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/system/classes/CombineAssets.php b/modules/system/classes/CombineAssets.php index 0e23b8461..754e9d46d 100644 --- a/modules/system/classes/CombineAssets.php +++ b/modules/system/classes/CombineAssets.php @@ -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