fix ping message
This commit is contained in:
		@@ -41,7 +41,7 @@ Sumorobot.prototype.connect = function() {
 | 
				
			|||||||
        // Setup a timer to ping the robot
 | 
					        // Setup a timer to ping the robot
 | 
				
			||||||
        self.watchdogTimer = setInterval(function() {
 | 
					        self.watchdogTimer = setInterval(function() {
 | 
				
			||||||
            // Send a ping to the robot
 | 
					            // Send a ping to the robot
 | 
				
			||||||
            self.send(self.robotId, 'ping');
 | 
					            self.send('ping');
 | 
				
			||||||
        }, 500);
 | 
					        }, 500);
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
    // When the WebSocket closes
 | 
					    // When the WebSocket closes
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user