X-Git-Url: https://git.auder.net/?p=vchess.git;a=blobdiff_plain;f=client%2Fsrc%2Fmain.js;h=1fe69b2b5e4fdd282a8ecbdbc3bd8a964616e2fe;hp=da3e60220a3782dc984d4c3e490fceca4858eba6;hb=b644ef7f0302dcb024e5214600d13883906faed0;hpb=662e6ae96270a14d983aa5e89dd380b652222088 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)