Removed some unnecessary log outputs.
This commit is contained in:
		| @@ -67,7 +67,6 @@ function sendButton(event) { | ||||
|  | ||||
| function onMessage(event) { | ||||
|   var data = event.data; | ||||
|   console.log("ws_msg:" + event.data + "\n"); | ||||
|  | ||||
|   if (data.startsWith("NOTIFY:")) { | ||||
|     var notify_data = data.slice(7).split(";")[1]; | ||||
| @@ -95,14 +94,10 @@ function onMessage(event) { | ||||
|   } else if (data.startsWith("STATUS:")) { | ||||
|     const data_sliced = data.slice(7); | ||||
|     const result = processDataString(data_sliced, statusMapping); | ||||
|     console.log("STATUS:"); | ||||
|     console.log(JSON.stringify(result, null, 2)); | ||||
|     fillValuesToHTML(result); | ||||
|   } else if (data.startsWith("STATIC:")) { | ||||
|     const data_sliced = data.slice(7); | ||||
|     const result = processDataString(data_sliced, staticMapping); | ||||
|     console.log("STATIC:"); | ||||
|     console.log(JSON.stringify(result, null, 2)); | ||||
|     fillValuesToHTML(result); | ||||
|     overlay.style.display = "none"; | ||||
|   } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user