Skip to content
Snippets Groups Projects
Commit 728f4d25 authored by IsolatedSushi's avatar IsolatedSushi
Browse files

Small fix

parent fe31cf44
No related branches found
No related tags found
1 merge request!10Web socket streaming
......@@ -59,11 +59,9 @@ function parseMessage(ws, message) {
function echoPoint(ws, dataRow) {
console.log(dataRow);
ws.send(JSON.stringify({
"point": {
"id": dataRow[0]
, "x": dataRow[1],
"y": dataRow[2]
}
}));
}
......
......
......@@ -59,11 +59,10 @@ function parseMessage(ws, message) {
function echoPoint(ws, dataRow) {
console.log(dataRow);
ws.send(JSON.stringify({
"point": {
"id": dataRow[0]
, "x": dataRow[1],
"y": dataRow[2]
}
}));
}
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment