refactor comment

This commit is contained in:
Silver Kuusik 2018-05-17 18:12:30 +03:00 committed by GitHub
parent 2840de20b8
commit e1c76b80cb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ Sumorobot.prototype.connect = function() {
/* to have access to this object */ /* to have access to this object */
var self = this; var self = this;
this.websocket = new WebSocket(this.wsUri); this.websocket = new WebSocket(this.wsUri);
/* setup connection watchdog */ /* setup connection watchdog interval */
setInterval(function() { setInterval(function() {
if (watchdogCounter == 0) { if (watchdogCounter == 0) {
$("#battery").removeClass("connected"); $("#battery").removeClass("connected");