Endle / fireSeqSearch

Require template literals instead of string concatenation JS-0246
Anti-pattern
Minor
9 months ago3 years old
Unexpected string concatenation
 829                        top: ((gy + info.gh / 2) * g + info.fillTextOffsetY) + 'px',
 830                        width: info.fillTextWidth + 'px',
 831                        height: info.fillTextHeight + 'px',
 832                        lineHeight: fontSize + 'px', 833                        whiteSpace: 'nowrap',
 834                        transform: transformRule,
 835                        webkitTransform: transformRule,
Unexpected string concatenation
 828                        left: ((gx + info.gw / 2) * g + info.fillTextOffsetX) + 'px',
 829                        top: ((gy + info.gh / 2) * g + info.fillTextOffsetY) + 'px',
 830                        width: info.fillTextWidth + 'px',
 831                        height: info.fillTextHeight + 'px', 832                        lineHeight: fontSize + 'px',
 833                        whiteSpace: 'nowrap',
 834                        transform: transformRule,
Unexpected string concatenation
 827                            (fontSize * info.mu) + 'px ' + settings.fontFamily,
 828                        left: ((gx + info.gw / 2) * g + info.fillTextOffsetX) + 'px',
 829                        top: ((gy + info.gh / 2) * g + info.fillTextOffsetY) + 'px',
 830                        width: info.fillTextWidth + 'px', 831                        height: info.fillTextHeight + 'px',
 832                        lineHeight: fontSize + 'px',
 833                        whiteSpace: 'nowrap',
Unexpected string concatenation
 826                        font: fontWeight + ' ' +
 827                            (fontSize * info.mu) + 'px ' + settings.fontFamily,
 828                        left: ((gx + info.gw / 2) * g + info.fillTextOffsetX) + 'px',
 829                        top: ((gy + info.gh / 2) * g + info.fillTextOffsetY) + 'px', 830                        width: info.fillTextWidth + 'px',
 831                        height: info.fillTextHeight + 'px',
 832                        lineHeight: fontSize + 'px',
Unexpected string concatenation
 825                        display: 'block',
 826                        font: fontWeight + ' ' +
 827                            (fontSize * info.mu) + 'px ' + settings.fontFamily,
 828                        left: ((gx + info.gw / 2) * g + info.fillTextOffsetX) + 'px', 829                        top: ((gy + info.gh / 2) * g + info.fillTextOffsetY) + 'px',
 830                        width: info.fillTextWidth + 'px',
 831                        height: info.fillTextHeight + 'px',