remove line breaks

This commit is contained in:
casperlamboo 2016-05-09 11:41:21 +02:00
parent 47e5090444
commit 08adf33139

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) {