SVGHMI: use const when applicable svghmi
authorEdouard Tisserant
Wed, 25 Nov 2020 14:47:23 +0100
branchsvghmi
changeset 3078 d345673610b0
parent 3077 82312473d153
child 3079 1021c6c74dde
SVGHMI: use const when applicable
svghmi/svghmi.js
--- a/svghmi/svghmi.js	Wed Nov 25 14:46:25 2020 +0100
+++ b/svghmi/svghmi.js	Wed Nov 25 14:47:23 2020 +0100
@@ -264,7 +264,7 @@
     return new_val;
 }
 
-quotes = {"'":null, '"':null};
+const quotes = {"'":null, '"':null};
 
 function change_hmi_value(index, opstr) {
     let op = opstr[0];