- update: function(gameId, obj) //move, fen, clocks, score, initime, ...
- {
- if (Number.isInteger(gameId) || !isNaN(parseInt(gameId)))
- {
+ // obj: chat, move, fen, clocks, score[Msg], initime, ...
+ update: function(gameId, obj) {
+ if (Number.isInteger(gameId) || !isNaN(parseInt(gameId))) {