projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Final thoughts about presentation
[vchess.git]
/
public
/
javascripts
/
components
/
chat.js
diff --git
a/public/javascripts/components/chat.js
b/public/javascripts/components/chat.js
index
a148990
..
5dce307
100644
(file)
--- a/
public/javascripts/components/chat.js
+++ b/
public/javascripts/components/chat.js
@@
-1,4
+1,8
@@
- myname: localStorage["username"] || "anonymous",
+// TODO: myname, opppnents (optional, different style), people
+// --> also show messages like "X offers draw ?" (probably not)
+
+
+myname: localStorage["username"] || "anonymous",
oppName: "anonymous", //opponent name, revealed after a game (if provided)
chats: [], //chat messages after human game
oppName: "anonymous", //opponent name, revealed after a game (if provided)
chats: [], //chat messages after human game