remove line breaks

This commit is contained in:
casperlamboo 2016-05-09 11:41:21 +02:00 committed by Simon Voordouw
parent 597df613c9
commit 0ec47b88e7

View File

@ -4,8 +4,7 @@ export default class {
constructor() { constructor() {
this.parts = []; this.parts = [];
} }
getOutline() {
getOutline () {
const outLines = new Shape([], true); const outLines = new Shape([], true);
for (let i = 0; i < this.parts.length; i ++) { for (let i = 0; i < this.parts.length; i ++) {
@ -18,8 +17,7 @@ export default class {
return outLines; return outLines;
} }
add(shape) {
add (shape) {
const part = { shape }; const part = { shape };
if (shape.closed) { if (shape.closed) {