projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Experimental multi-tabs support (TODO: prevent multi-connect)
[vchess.git]
/
client
/
src
/
utils
/
gameStorage.js
diff --git
a/client/src/utils/gameStorage.js
b/client/src/utils/gameStorage.js
index
bf5dfba
..
f995828
100644
(file)
--- a/
client/src/utils/gameStorage.js
+++ b/
client/src/utils/gameStorage.js
@@
-4,7
+4,7
@@
// vname: string,
// fenStart: string,
// players: array of sid+id+name,
// vname: string,
// fenStart: string,
// players: array of sid+id+name,
-//
timeControl
: string,
+//
cadence
: string,
// increment: integer (seconds),
// mode: string ("live" or "corr")
// imported: boolean (optional, default false)
// increment: integer (seconds),
// mode: string ("live" or "corr")
// imported: boolean (optional, default false)
@@
-48,7
+48,6
@@
function dbOperation(callback)
export const GameStorage =
{
// Optional callback to get error status
export const GameStorage =
{
// Optional callback to get error status
- // TODO: this func called from Hall seems to not work now...
add: function(game, callback)
{
dbOperation((db) => {
add: function(game, callback)
{
dbOperation((db) => {