This is an automated email from the ASF dual-hosted git repository.

sebb 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 253a01a  Semi-colons
253a01a is described below

commit 253a01aeef6136cde4eb9aff07b162e39dff4512
Author: Sebb <[email protected]>
AuthorDate: Thu Nov 18 16:50:51 2021 +0000

    Semi-colons
---
 webui/js/source/base-js-extensions.js | 16 ++++++++--------
 webui/js/source/primer.js             |  2 +-
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/webui/js/source/base-js-extensions.js 
b/webui/js/source/base-js-extensions.js
index c806048..68b8c7f 100644
--- a/webui/js/source/base-js-extensions.js
+++ b/webui/js/source/base-js-extensions.js
@@ -49,7 +49,7 @@ String.prototype.format = function() {
         }
     });
     return rtn;
-}
+};
 
 
 /**
@@ -88,7 +88,7 @@ Date.prototype.TZ_HHMM = function() {
     let off_mm =   Math.abs(off_mins%60);
     let sgn = off_mins > 0 ? '-' : '+';
     return sgn + off_hh.pad(2) + ':' + off_mm.pad(2);
-}
+};
 
 
 
@@ -119,14 +119,14 @@ Date.prototype.ISOBare = function() {
 
 function isArray(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 */
 
 function isHash(value) {
     return value && typeof value === 'object' && !isArray(value);
-};
+}
 
 
 /* Remove an array element by value */
@@ -156,8 +156,8 @@ Array.prototype.has = function(val) {
 
 function isEmpty(obj) {
     return (
-        obj
-        && Object.keys(obj).length === 0
-        && Object.getPrototypeOf(obj) === Object.prototype
-    )
+        obj &&
+        Object.keys(obj).length === 0 &&
+        Object.getPrototypeOf(obj) === Object.prototype
+    );
 }
diff --git a/webui/js/source/primer.js b/webui/js/source/primer.js
index 7ec9ead..84f9252 100644
--- a/webui/js/source/primer.js
+++ b/webui/js/source/primer.js
@@ -133,7 +133,7 @@ function parseURL(state) {
     } else {
         primeListView(state);
     }
-};
+}
 
 
 

Reply via email to