From 44197dd5e437e1179817b6fd42bbbf016cf29997 Mon Sep 17 00:00:00 2001 From: casperlamboo Date: Wed, 19 Jul 2017 11:50:23 +0200 Subject: [PATCH] remove unnecessary new key word --- src/slicerWorker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/slicerWorker.js b/src/slicerWorker.js index 369e4b3..ff1797e 100644 --- a/src/slicerWorker.js +++ b/src/slicerWorker.js @@ -16,7 +16,7 @@ self.addEventListener('message', (event) => { case 'SLICE': { const { geometry: JSONGeometry, settings } = data; - const { geometry } = new loader.parse(JSONGeometry.data); + const { geometry } = loader.parse(JSONGeometry.data); const gcode = slice(geometry, settings, onProgress);