Skip to content

Commit ece8e96

Browse files
committed
Simplify code
1 parent d40fd13 commit ece8e96

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

src/examples.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -637,15 +637,14 @@ export default {
637637
g rect*5 {
638638
width, height: 20;
639639
x, y: @n(*25, -25) 0;
640-
stroke-dasharray: 1 1;
641-
stroke: red;
640+
stroke-dasharray: .5;
642641
stroke-width: .2;
643642
}
644643
645644
g {
646645
path {
647646
d: M 12 20 A 6 6 0 1 1 12 0 z
648-
M 18 16 A 6 6 0 0 1 18 4 z
647+
M 18 16 A 6 6 0 0 1 18 4 z;
649648
}
650649
}
651650
@@ -671,16 +670,15 @@ export default {
671670
x1, y1, x2, y2: 10 0 10 20;
672671
}
673672
circle*2 {
674-
cx, cy: 10 10;
675-
r: @n(*5);
673+
r, cx, cy: @n(*5) 10 10;
676674
}
677675
}
678676
679677
g {
680678
transform: translate(100, 0);
681679
path {
682680
d: M 0 20 A 20 20 0 0 1 20 0 L 20 20 z
683-
M 8.5 20 A 11.5 11.5 0 0 1 20 8.5
681+
M 8.5 20 A 11.5 11.5 0 0 1 20 8.5;
684682
}
685683
}
686684
}

0 commit comments

Comments
 (0)