From 9cb85066fecfcf32c273dffb036090bcf89ba629 Mon Sep 17 00:00:00 2001 From: Toby Zerner Date: Sat, 18 Aug 2018 12:13:40 +0930 Subject: [PATCH] Apply fixes from StyleCI (#1551) [ci skip] [skip ci] --- framework/core/src/Frontend/Asset/ExtensionAssets.php | 1 + 1 file changed, 1 insertion(+) diff --git a/framework/core/src/Frontend/Asset/ExtensionAssets.php b/framework/core/src/Frontend/Asset/ExtensionAssets.php index 903dc008c..64da87363 100644 --- a/framework/core/src/Frontend/Asset/ExtensionAssets.php +++ b/framework/core/src/Frontend/Asset/ExtensionAssets.php @@ -58,6 +58,7 @@ class ExtensionAssets implements AssetInterface $sources->addString(function () { $name = $this->extension->getId(); + return "flarum.extensions['$name']=module.exports"; }); }