SVGHMI: remove forgotten debug code svghmi
authorEdouard Tisserant <edouard.tisserant@gmail.com>
Sun, 14 Feb 2021 05:15:13 +0100
branchsvghmi
changeset 3137 ac3ec66e9c6d
parent 3136 784c839d4259
child 3138 1d724e8d5592
SVGHMI: remove forgotten debug code
svghmi/svghmi.js
svghmi/svghmi.py
svghmi/widget_scrollbar.ysl2
--- a/svghmi/svghmi.js	Fri Feb 12 22:00:07 2021 +0100
+++ b/svghmi/svghmi.js	Sun Feb 14 05:15:13 2021 +0100
@@ -279,7 +279,6 @@
 
         if(persistent_indexes.has(index)){
             let varname = persistent_indexes.get(index);
-            console.log(varname+"="+value+"; max-age=3153600000");
             document.cookie = varname+"="+value+"; max-age=3153600000";
         }
 
--- a/svghmi/svghmi.py	Fri Feb 12 22:00:07 2021 +0100
+++ b/svghmi/svghmi.py	Sun Feb 14 05:15:13 2021 +0100
@@ -539,8 +539,6 @@
         langs,translated_messages = MatchTranslations(translations, messages, 
             errcallback=self.GetCTRoot().logger.write_warning)
 
-        print(langs,translated_messages)
-
         return TranslationToEtree(langs,translated_messages)
 
     def CTNGenerate_C(self, buildpath, locations):
--- a/svghmi/widget_scrollbar.ysl2	Fri Feb 12 22:00:07 2021 +0100
+++ b/svghmi/widget_scrollbar.ysl2	Sun Feb 14 05:15:13 2021 +0100
@@ -42,7 +42,6 @@
 
             let new_y = this.range_elt.y.baseVal.value + Math.round(Math.min(this.position,range) * pixels / units);
             let new_height = Math.round(maxh * size/range);
-            console.log(new_y, new_height);
 
             this.cursor_elt.y.baseVal.value = new_y;
             this.cursor_elt.height.baseVal.value = new_height;