remove unnecessary new key word

This commit is contained in:
casperlamboo 2017-07-19 11:50:23 +02:00
parent fdbb1469ee
commit 44197dd5e4

View File

@ -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);