From 7042ebf5888d9da22df905d9bf74bc0384273373 Mon Sep 17 00:00:00 2001 From: casperlamboo Date: Sat, 23 Apr 2016 09:56:36 +0200 Subject: [PATCH] cleanup slicer --- src/slicer.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/slicer.js b/src/slicer.js index 0892733..09b4fcc 100644 --- a/src/slicer.js +++ b/src/slicer.js @@ -60,10 +60,10 @@ export default class extends EventDispatcher { } slice (settings) { - var supportEnabled = settings.config['supportEnabled']; + const supportEnabled = settings.config['supportEnabled']; // get unique lines from geometry; - var lines = createLines(this.geometry, settings); + const lines = createLines(this.geometry, settings); this.progress.createdLines = true; this._updateProgress(settings); @@ -106,8 +106,6 @@ export default class extends EventDispatcher { this.dispatchEvent({ type: 'finish', gcode }); - console.log(slices); - return gcode; }