home
·
contact
·
privacy
projects
/
plomrogue2-experiments
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Whitespace riddance and some quote bug fixes.
[plomrogue2-experiments]
/
new2
/
websocket_client.html
diff --git
a/new2/websocket_client.html
b/new2/websocket_client.html
index e91e4efc3adb31ae732ade58c50cd0e7a92c6d68..9d3c7f0a6d06f5e05233bfb3f0cfaed90329a9a4 100644
(file)
--- a/
new2/websocket_client.html
+++ b/
new2/websocket_client.html
@@
-51,7
+51,7
@@
write(3, 3, "hallihallo");
drawBox(5, 25, 5, 5);
var websocket = new WebSocket(websocket_location);
drawBox(5, 25, 5, 5);
var websocket = new WebSocket(websocket_location);
-
exampleS
ocket.onmessage = function (event) {
+
webs
ocket.onmessage = function (event) {
write(2, 2, event.data);
}
write(2, 2, event.data);
}
@@
-65,7
+65,7
@@
document.addEventListener('keydown', (event) => {
case 'j': cursor[0] += 1; break;
case 'k': cursor[0] -= 1; break;
case 'l': cursor[1] += 1; break;
case 'j': cursor[0] += 1; break;
case 'k': cursor[0] -= 1; break;
case 'l': cursor[1] += 1; break;
- case 'x':
exampleS
ocket.send('test');
+ case 'x':
webs
ocket.send('test');
}
write(cursor[0], cursor[1], '@');
}, false);
}
write(cursor[0], cursor[1], '@');
}, false);