From 4590d94d7dd85c160527df69017ca0f22f792891 Mon Sep 17 00:00:00 2001 From: RaidMax Date: Thu, 20 Aug 2020 13:10:43 -0500 Subject: [PATCH] update bundle minifier package to use .net core one --- WebfrontCore/WebfrontCore.csproj | 8 ++++++++ WebfrontCore/wwwroot/js/loader.js | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/WebfrontCore/WebfrontCore.csproj b/WebfrontCore/WebfrontCore.csproj index 31a011f39..b3e416e1f 100644 --- a/WebfrontCore/WebfrontCore.csproj +++ b/WebfrontCore/WebfrontCore.csproj @@ -70,6 +70,10 @@ + + + + @@ -98,4 +102,8 @@ + + + + diff --git a/WebfrontCore/wwwroot/js/loader.js b/WebfrontCore/wwwroot/js/loader.js index 126aebbed..cb47f1b00 100644 --- a/WebfrontCore/wwwroot/js/loader.js +++ b/WebfrontCore/wwwroot/js/loader.js @@ -7,12 +7,12 @@ let loadUri = ''; let loaderResponseId = ''; let additionalParams = []; -function initLoader(location, loaderId, count = 10, start = count, additional) { +function initLoader(location, loaderId, count = 10, start = count, additional = []) { loadUri = location; loaderResponseId = loaderId; loadCount = count; loaderOffset = start; - additionalParams = additional ?? []; + additionalParams = additional; setupListeners(); }