X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=client%2Fsrc%2Fmain.js;h=1fe69b2b5e4fdd282a8ecbdbc3bd8a964616e2fe;hb=b644ef7f0302dcb024e5214600d13883906faed0;hp=da3e60220a3782dc984d4c3e490fceca4858eba6;hpb=98db2082fd31e7a7bc0348e31ce119f39dbc31b3;p=vchess.git diff --git a/client/src/main.js b/client/src/main.js index da3e6022..1fe69b2b 100644 --- a/client/src/main.js +++ b/client/src/main.js @@ -35,6 +35,7 @@ new Vue({ Vue.prototype.$variants = res.variantArray; }); Vue.prototype.$tr = {}; //to avoid a compiler error + // TODO: if there is a socket ID in localStorage, it means a live game was interrupted (and should resume) const myid = localStorage["myid"] || util.getRandString(); // NOTE: in this version, we don't say on which page we are, yet // ==> we'll say "enter/leave" page XY (in fact juste "enter", seemingly)