Suppress conditional assignment error in humanedate lib
This commit is contained in:
parent
29e7c4775b
commit
210e241c77
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue