locally renamed files as lowercase file extensions

because not all IDEs seem to support uppercase file name extensions
This commit is contained in:
buzz-lightsnack-2007 2024-03-28 08:53:29 +08:00
parent 89b22bccba
commit 908433d80d
3 changed files with 223 additions and 178 deletions

View file

@ -1,18 +1,17 @@
/* alerts.js
Alert management system.
*/
export function confirm_action() {
let user_response = false;
(async () => {
// Import the module.
let reader = await import(chrome.runtime.getURL("gui/scripts/read.JS"));
// Get the user response.
user_response = confirm(reader.read(`GUI_alert_confirm_action_text`));
})();
// Return the user response.
return (user_response);
};
/* alerts.js
Alert management system.
*/
export function confirm_action() {
let user_response = false;
(async () => {
// Import the module.
let reader = await import(chrome.runtime.getURL("gui/scripts/read.js"));
// Get the user response.
user_response = confirm(reader.read(`GUI_alert_confirm_action_text`));
})();
// Return the user response.
return user_response;
}