From f1be1aa8cb5a81269a5f82c391fbe877a1f81fad Mon Sep 17 00:00:00 2001 From: chaos Date: Tue, 20 Feb 2024 10:54:17 +0800 Subject: [PATCH] fix webpack5 arrow function arguments compatibility of gui/core module. --- frontend/front-srv/assets/gui.ajax/res/js/core/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/front-srv/assets/gui.ajax/res/js/core/index.js b/frontend/front-srv/assets/gui.ajax/res/js/core/index.js index f3d9772ab4..6d7edca42e 100644 --- a/frontend/front-srv/assets/gui.ajax/res/js/core/index.js +++ b/frontend/front-srv/assets/gui.ajax/res/js/core/index.js @@ -175,8 +175,7 @@ if(originalRequire) { break; } - return originalRequire.apply(this, arguments); + return originalRequire.apply(this, libName); } } - Object.assign(window, {...namespace, PydioCore: namespace});