X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=public%2Fjavascripts%2Fsettings.js;fp=public%2Fjavascripts%2Fsettings.js;h=0000000000000000000000000000000000000000;hb=a3ab5fdb6e9d614f55bb7ecef5887ddb7875df4b;hp=f9d7649c52e40078718bb04764cc0e2be637b1d3;hpb=d337a94cd6d38bb743a8935017d03fe21d4ad324;p=vchess.git diff --git a/public/javascripts/settings.js b/public/javascripts/settings.js deleted file mode 100644 index f9d7649c..00000000 --- a/public/javascripts/settings.js +++ /dev/null @@ -1,23 +0,0 @@ -// TODO: -//à chaque onChange, envoyer matching event settings update -//(par exemple si mise à jour du nom, juste envoyer cet update aux autres connectés ...etc) -// setMyname: function(e) { -// this.myname = e.target.value; -// localStorage["username"] = this.myname; -// }, -// showSettings: function(e) { -// this.getRidOfTooltip(e.currentTarget); -// document.getElementById("modal-settings").checked = true; -// }, -// toggleHints: function() { -// this.hints = !this.hints; -// localStorage["hints"] = (this.hints ? "1" : "0"); -// }, -// setBoardColor: function(e) { -// this.bcolor = e.target.options[e.target.selectedIndex].value; -// localStorage["bcolor"] = this.bcolor; -// }, -// setSound: function(e) { -// this.sound = parseInt(e.target.options[e.target.selectedIndex].value); -// localStorage["sound"] = this.sound; -// },