This is an automated email from the ASF dual-hosted git repository.
humbedooh pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail-foal.git
The following commit(s) were added to refs/heads/master by this push:
new f40f0b2 fix declarations
f40f0b2 is described below
commit f40f0b2d861ce9ae4f45c566a6dd511236fd89e4
Author: Daniel Gruno <[email protected]>
AuthorDate: Wed Nov 17 18:54:55 2021 +0100
fix declarations
---
webui/js/source/base-js-extensions.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/webui/js/source/base-js-extensions.js
b/webui/js/source/base-js-extensions.js
index 2c2664f..0d83d52 100644
--- a/webui/js/source/base-js-extensions.js
+++ b/webui/js/source/base-js-extensions.js
@@ -117,14 +117,14 @@ Date.prototype.ISOBare = function() {
/* isArray: function to detect if an object is an array */
-isArray = function(value) {
+function isArrray(value) {
return value && typeof value === 'object' && value instanceof Array &&
typeof value.length === 'number' && typeof value.splice === 'function' &&
!(value.propertyIsEnumerable('length'));
};
/* isHash: function to detect if an object is a hash */
-isHash = function(value) {
+function isHash(value) {
return value && typeof value === 'object' && !isArray(value);
};