refactor comment
This commit is contained in:
		@@ -46,7 +46,7 @@ Sumorobot.prototype.connect = function() {
 | 
			
		||||
    /* to have access to this object */
 | 
			
		||||
    var self = this;
 | 
			
		||||
    this.websocket = new WebSocket(this.wsUri);
 | 
			
		||||
    /* setup connection watchdog */
 | 
			
		||||
    /* setup connection watchdog interval */
 | 
			
		||||
    setInterval(function() {
 | 
			
		||||
        if (watchdogCounter == 0) {
 | 
			
		||||
            $("#battery").removeClass("connected");
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user