// },
created: function() {
window.doClick = (elemId) => { document.getElementById(elemId).click() };
+ store.initialize();
// TODO: AJAX call get corr games (all variants)
// si dernier lastMove sur serveur n'est pas le mien et nextColor == moi, alors background orange
// if (!!localStorage["variant"])
// location.hash = "#game?id=" + localStorage["gameId"];
},
- // Later, for icons (if using feather):
-// mounted: function() {
-// feather.replace();
-// },
- created: function() {
- store.initialize();
- },
}).$mount("#app");
// TODO: get rules, dynamic import