Suppress conditional assignment error in humanedate lib

This commit is contained in:
Bill Thornton 2020-02-26 01:42:05 -05:00
parent 29e7c4775b
commit 210e241c77

View file

@ -25,6 +25,7 @@ define(["datetime"], function (datetime) {
if (seconds < 0) {
seconds = Math.abs(seconds);
}
// eslint-disable-next-line no-cond-assign
for (; format = time_formats[i++];) {
if (seconds < format[0]) {
if (2 == format.length) {