From d86682557bd77138781709d4757fd5f524b1a7f2 Mon Sep 17 00:00:00 2001 From: g0d Date: Sat, 21 Sep 2024 21:35:41 +0300 Subject: [PATCH] micro-MVC (4.2.8) This is a maintenance release. --- README.md | 2 +- framework/extensions/js/core/msgbox/msgbox.js | 8 +++----- framework/extensions/js/user/parallel/parallel.js | 7 ++++--- framework/libs/util.php | 2 +- 4 files changed, 9 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 8b4faa6..ff7894a 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ ![alt tag](https://github.com/g0d/micro-MVC/blob/master/site/pix/micro_mvc.png) -# micro-MVC (4.2.7) +# micro-MVC (4.2.8) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/889562a17e174c438fd56d35780822b0)](https://app.codacy.com/gh/g0d/micro-MVC/dashboard) diff --git a/framework/extensions/js/core/msgbox/msgbox.js b/framework/extensions/js/core/msgbox/msgbox.js index a4d700e..a6a5a71 100644 --- a/framework/extensions/js/core/msgbox/msgbox.js +++ b/framework/extensions/js/core/msgbox/msgbox.js @@ -1,7 +1,7 @@ /* MsgBox (Message Window) - File name: msgbox.js (Version: 2.7) + File name: msgbox.js (Version: 2.8) Description: This file contains the MsgBox extension. Dependencies: Vulcan. @@ -249,9 +249,7 @@ function msgbox() if (!__found) return false; - var i = 0; - - for (i = 0; i < hide_callback_array.length; i++) + for (var i = 0; i < hide_callback_array.length; i++) { if (!utils.validation.misc.is_function(hide_callback_array[i])) return false; @@ -279,7 +277,7 @@ function msgbox() (global_type === self.types.YES_NO_CANCEL && hide_callback_array.length > 3))) return false; - for (i = 0; i < hide_callback_array.length; i++) + for (var i = 0; i < hide_callback_array.length; i++) { if (!utils.validation.misc.is_function(hide_callback_array[i])) return false; diff --git a/framework/extensions/js/user/parallel/parallel.js b/framework/extensions/js/user/parallel/parallel.js index da6771f..35120e5 100644 --- a/framework/extensions/js/user/parallel/parallel.js +++ b/framework/extensions/js/user/parallel/parallel.js @@ -1,12 +1,12 @@ /* Parallel programming (Task parallelism) - File name: parallel.js (Version: 2.1) + File name: parallel.js (Version: 2.2) Description: This file contains the Parallel tasks framework extension. Dependencies: Vulcan, Pythia, JAP and Task. Coded by George Delaportas (G0D) - Copyright (C) 2015 - 2021 + Copyright (C) 2015 - 2024 Open Software License (OSL 3.0) */ @@ -105,7 +105,8 @@ function parallel() if (!config_parser.verify(tasks_config_model, tasks_config)) return false; - var __task = null; + var __this_task_config = null, + __task = null; for (__this_task_config of tasks_config) { diff --git a/framework/libs/util.php b/framework/libs/util.php index 1e38fc4..e8afa45 100644 --- a/framework/libs/util.php +++ b/framework/libs/util.php @@ -58,7 +58,7 @@ private static function Fetch_Extensions($ext_type) } /** - * UTIL::Fetch_Extensions - Fetch all configured extensions for autoloading + * UTIL::Fetch_Autoload_Extensions - Fetch all configured extensions for autoloading * * @return array */