# HG changeset patch # User Edouard Tisserant # Date 1598255315 -7200 # Node ID d1fc8c55c1d312d21f957a79b27c90490b4a827c # Parent 793ce211725820eb71fb6e379f6623eaa330cf60 SVGHMI: removed debug code forgotten here and there. diff -r 793ce2117258 -r d1fc8c55c1d3 svghmi/svghmi.js --- a/svghmi/svghmi.js Fri Aug 21 14:29:03 2020 +0200 +++ b/svghmi/svghmi.js Mon Aug 24 09:48:35 2020 +0200 @@ -240,7 +240,6 @@ function send_hmi_value(index, value) { if(index > last_remote_index){ - console.log("updated local variable ",index,value); updates[index] = value; requestHMIAnimation(); return; @@ -416,7 +415,6 @@ function edit_value(path, valuetype, callback, initial, size) { let [keypadid, xcoord, ycoord] = keypads[valuetype]; - console.log('XXX TODO : Edit value', path, valuetype, callback, initial, keypadid); edit_callback = callback; let widget = hmi_widgets[keypadid]; widget.start_edit(path, valuetype, callback, initial, size); @@ -461,7 +459,6 @@ eltsub.inactive.setAttribute("style", "display:none"); if(eltsub.active_style !== undefined) eltsub.active.setAttribute("style", eltsub.active_style); - console.log("active", eltsub); }; function widget_inactive_activable(eltsub) { if(eltsub.active_style === undefined) @@ -469,5 +466,4 @@ eltsub.active.setAttribute("style", "display:none"); if(eltsub.inactive_style !== undefined) eltsub.inactive.setAttribute("style", eltsub.inactive_style); - console.log("inactive", eltsub); -}; +}; diff -r 793ce2117258 -r d1fc8c55c1d3 svghmi/widget_display.ysl2 --- a/svghmi/widget_display.ysl2 Fri Aug 21 14:29:03 2020 +0200 +++ b/svghmi/widget_display.ysl2 Mon Aug 24 09:48:35 2020 +0200 @@ -7,7 +7,6 @@ frequency = 5; dispatch(value, oldval, index) { this.fields[index] = value; - console.log(value, index); this.element.textContent = this.args.length == 1 ? vsprintf(this.args[0],this.fields) : this.fields.join(' '); } } diff -r 793ce2117258 -r d1fc8c55c1d3 svghmi/widget_dropdown.ysl2 --- a/svghmi/widget_dropdown.ysl2 Fri Aug 21 14:29:03 2020 +0200 +++ b/svghmi/widget_dropdown.ysl2 Mon Aug 24 09:48:35 2020 +0200 @@ -158,7 +158,6 @@ 0, this.menu_offset - spanslength); } - console.log(this.menu_offset); this.set_partial_text(); }, // Setup partial view text content diff -r 793ce2117258 -r d1fc8c55c1d3 svghmi/widget_jsontable.ysl2 --- a/svghmi/widget_jsontable.ysl2 Fri Aug 21 14:29:03 2020 +0200 +++ b/svghmi/widget_jsontable.ysl2 Mon Aug 24 09:48:35 2020 +0200 @@ -22,7 +22,6 @@ } dispatch(value, oldval, index) { - console.log("mhooo", index); this.cache[index] = value; this.do_http_request(); }