From e9330f06848478be446cbcfc0047306ba851a515 Mon Sep 17 00:00:00 2001 From: David Carley Date: Tue, 2 Mar 2021 18:44:13 -0800 Subject: [PATCH] Removed debugging code --- src/js/control-view.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/js/control-view.js b/src/js/control-view.js index 67412d9..4984f4c 100644 --- a/src/js/control-view.js +++ b/src/js/control-view.js @@ -519,14 +519,11 @@ module.exports = { this.showGcodeMessage = true; - let done; + let done = false; while (!done) { const toolpath = await api.get(`path/${file}`); - console.log("toolpath progress: ", toolpath.progress); - if (typeof toolpath.progress == 'undefined') { - console.log("done loading toolpath"); done = true; toolpath.filename = file; this.toolpath_progress = 1; @@ -540,7 +537,6 @@ module.exports = { Vue.set(state, 'path_max_' + axis, bounds.max[axis]); } } else { - console.log("Still loading toolpath"); this.toolpath_progress = toolpath.progress; } }