1
0
Fork 0

chore: Linter

This commit is contained in:
Joost De Cock 2021-01-31 09:22:15 +01:00
parent adb9e93024
commit 1a46c8e724
227 changed files with 660 additions and 936 deletions

View file

@ -1,7 +1,7 @@
export default part => {
export default (part) => {
let { Point, points, Path, paths, options } = part.shorthand()
const textClasses = label =>
const textClasses = (label) =>
options.focus === label ? 'center text-xs fill-note' : 'center text-xs'
points.A = new Point(10, 10)
@ -46,11 +46,7 @@ export default part => {
.attr('data-text', 'Path.close()')
.attr('data-text-class', textClasses('close'))
paths.example = paths.line
.join(paths.curve)
.join(paths._curve)
.join(paths.curve_)
.close()
paths.example = paths.line.join(paths.curve).join(paths._curve).join(paths.curve_).close()
return part
}