Skip to content

Commit

Permalink
Remove unnecessary console.log from javascript
Browse files Browse the repository at this point in the history
  • Loading branch information
FormerLurker committed Sep 15, 2018
1 parent a1a3ac6 commit 392c180
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions octoprint_octolapse/static/js/octolapse.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion octoprint_octolapse/static/js/octolapse.status.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 392c180

Please sign in to comment.