Endle / fireSeqSearch

Use shorthand property syntax for object literals JS-0240
Anti-pattern
Minor
9 months ago2 years old
Expected property shorthand
1203                var drawn = putWord(settings.list[i])
1204                var canceled = !sendEvent('wordclouddrawn', true, {
1205                    item: settings.list[i],
1206                    drawn: drawn1207                })
1208                if (exceedTime() || canceled) {
1209                    stoppingFunction(timer[timerId])
Expected property shorthand
 872            }
 873
 874            if (interactive) {
 875                infoGrid[x][y] = { item: item, dimension: dimension } 876            }
 877        }
 878
Expected property shorthand
 872            }
 873
 874            if (interactive) {
 875                infoGrid[x][y] = { item: item, dimension: dimension } 876            }
 877        }
 878
Expected property shorthand
 715                fillTextOffsetY: fillTextOffsetY,
 716                fillTextWidth: fw,
 717                fillTextHeight: fh,
 718                fontSize: fontSize 719            }
 720        }
 721
Expected property shorthand
 712                gw: cgw,
 713                gh: cgh,
 714                fillTextOffsetX: fillTextOffsetX,
 715                fillTextOffsetY: fillTextOffsetY, 716                fillTextWidth: fw,
 717                fillTextHeight: fh,
 718                fontSize: fontSize