replace var with const

This commit is contained in:
casperlamboo 2016-04-22 19:38:00 +02:00
parent 09bd688b88
commit fb691f175c

View File

@ -25,8 +25,7 @@ export default function generateInnerLines(slices, settings) {
if (!part.shape.closed) continue;
// var outerLine = part.shape.clone().scaleUp(scale).offset(-nozzleRadius);
var outerLine = part.shape.scaleUp(scale).offset(-nozzleRadius, offsetOptions);
const outerLine = part.shape.scaleUp(scale).offset(-nozzleRadius, offsetOptions);
if (outerLine.paths.length > 0) {
part.outerLine.join(outerLine);