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,4 +1,4 @@
export default function(part) {
export default function (part) {
let { Point, Path, points, paths, snippets, Snippet, store } = part.shorthand()
let y = store.get('y')
@ -14,10 +14,7 @@ export default function(part) {
y += 10
points.tl = new Point(0, y)
points.tr = new Point(w, y)
paths.texts = new Path()
.move(points.tl)
.line(points.tr)
.attr('data-text', 'snippets')
paths.texts = new Path().move(points.tl).line(points.tr).attr('data-text', 'snippets')
y += 10
points['sl1'] = new Point(w * 0.25, y)
points['sl2'] = new Point(w * 0.5, y)