From 392c180f3b913bef1505975f1400cec50cddc841 Mon Sep 17 00:00:00 2001 From: Brad Hochgesang Date: Sat, 15 Sep 2018 17:38:25 -0500 Subject: [PATCH] Remove unnecessary console.log from javascript --- octoprint_octolapse/static/js/octolapse.js | 4 ++-- .../static/js/octolapse.profiles.printer.slicer.other.js | 2 +- octoprint_octolapse/static/js/octolapse.status.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/octoprint_octolapse/static/js/octolapse.js b/octoprint_octolapse/static/js/octolapse.js index fcb21530..8dd24678 100644 --- a/octoprint_octolapse/static/js/octolapse.js +++ b/octoprint_octolapse/static/js/octolapse.js @@ -524,7 +524,7 @@ $(function () { }; ko.extenders.axis_speed_unit = function (target, options) { - console.log("rounding to axis speed units"); + //console.log("rounding to axis speed units"); var result = ko.pureComputed({ read: target, write: function (newValue) { @@ -549,7 +549,7 @@ $(function () { }; ko.extenders.round_to_increment = function (target, options) { - console.log("rounding to axis speed units"); + //console.log("rounding to axis speed units"); var round_to_increment = options.round_to_increment; var result = ko.pureComputed({ read: target, diff --git a/octoprint_octolapse/static/js/octolapse.profiles.printer.slicer.other.js b/octoprint_octolapse/static/js/octolapse.profiles.printer.slicer.other.js index d5e7d3d1..bef5c2fb 100644 --- a/octoprint_octolapse/static/js/octolapse.profiles.printer.slicer.other.js +++ b/octoprint_octolapse/static/js/octolapse.profiles.printer.slicer.other.js @@ -164,7 +164,7 @@ Octolapse.create_other_slicer_viewmodel = function (profile_observables) { return false; } - console.log("Changing axis speed from " + previousUnit + " to " + newUnit) + //console.log("Changing axis speed from " + previousUnit + " to " + newUnit) // in case we want to have more units in the future, check all cases // Convert all from mm-min to mm-sec diff --git a/octoprint_octolapse/static/js/octolapse.status.js b/octoprint_octolapse/static/js/octolapse.status.js index ccb20ba5..81a920f1 100644 --- a/octoprint_octolapse/static/js/octolapse.status.js +++ b/octoprint_octolapse/static/js/octolapse.status.js @@ -141,7 +141,7 @@ $(function () { },this); self.has_configured_printer_profile = ko.pureComputed(function(){ - console.log("detecting configured printers.") + //console.log("detecting configured printers.") var current_printer = self.getCurrentProfileByGuid(self.profiles().printers()); if (current_printer != null) return current_printer.has_been_saved_by_user;