1
0
Fork 0

fix linting in mirror plugin and tests

This commit is contained in:
Patrick Forringer 2020-05-17 01:13:43 -05:00
parent b6d7c78bab
commit cc8a82e2e8
2 changed files with 5 additions and 7 deletions

View file

@ -86,12 +86,10 @@ export default {
}
if (clone) {
point = point.clone()
if (clone) {
if (foundId === null && typeof nameFormat == 'function') {
this.points[nameFormat(point)] = point
} else {
this.points[`${prefix}${capFirst(foundId)}`] = point
}
if (foundId === null && typeof nameFormat == 'function') {
this.points[nameFormat(point)] = point
} else {
this.points[`${prefix}${capFirst(foundId)}`] = point
}
}
;[point.x, point.y] = mirrorPoint(point)