projects
/
vchess.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix Jangqi + Xiangqi moves' notation
[vchess.git]
/
client
/
src
/
utils
/
gameStorage.js
diff --git
a/client/src/utils/gameStorage.js
b/client/src/utils/gameStorage.js
index
6885ed1
..
3e3b684
100644
(file)
--- a/
client/src/utils/gameStorage.js
+++ b/
client/src/utils/gameStorage.js
@@
-51,6
+51,7
@@
function dbOperation(callback) {
}
export const GameStorage = {
}
export const GameStorage = {
+
// Optional callback to get error status
add: function(game, callback) {
dbOperation((err, db) => {
// Optional callback to get error status
add: function(game, callback) {
dbOperation((err, db) => {
@@
-183,4
+184,5
@@
export const GameStorage = {
}
});
}
}
});
}
+
};
};