1
0
Fork 0

construction: Adding source files to NPM package

This commit is contained in:
Joost De Cock 2019-01-27 15:04:45 +01:00
parent 27696b434d
commit 35f40400e9
2 changed files with 2 additions and 4 deletions

View file

@ -1,2 +1 @@
src
.editorconfig

View file

@ -2,11 +2,10 @@ import { box } from "./shared";
export default part => {
let { Point, points, Snippet, snippets } = part.shorthand();
box(part);
box(part); // Needed for demo as this part has no paths
points.anchor = new Point(50, 25)
.attr("data-text", "Hello world!\nThis is\na line break.")
.attr("data-text", "msg")
.attr("data-text-class", "text-xl center")
.attr("data-text-lineheight", 10);