wip
This commit is contained in:
@@ -49,7 +49,7 @@ function processMessage(message) {
|
||||
const { variable, value } = JSON.parse(message);
|
||||
console.log({var: variable, val: value});
|
||||
const diff = calculateDiff(variable, progvars[variable], value);
|
||||
console.log({diff: diff});
|
||||
console.log({diff: diff})
|
||||
send_ws_message(diff);
|
||||
progvars[variable] = value;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user