projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Advance on client side
[vchess.git]
/
client
/
client_OLD
/
javascripts
/
variant.js
diff --git
a/client/client_OLD/javascripts/variant.js
b/client/client_OLD/javascripts/variant.js
index
5920c0c
..
c45de0a
100644
(file)
--- a/
client/client_OLD/javascripts/variant.js
+++ b/
client/client_OLD/javascripts/variant.js
@@
-33,13
+33,6
@@
new Vue({
this.conn.onclose = socketCloseListener;
},
methods: {
this.conn.onclose = socketCloseListener;
},
methods: {
- updateSettings: function(event) {
- const propName =
- event.target.id.substr(3).replace(/^\w/, c => c.toLowerCase())
- localStorage[propName] = ["highlight","coords"].includes(propName)
- ? event.target.checked
- : event.target.value;
- },
// Game is over, clear storage and put it in indexedDB
archiveGame: function() {
// TODO: ...
// Game is over, clear storage and put it in indexedDB
archiveGame: function() {
// TODO: ...