summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/socket.html6
1 files changed, 1 insertions, 5 deletions
diff --git a/test/socket.html b/test/socket.html
index d110c81..9ee91b6 100644
--- a/test/socket.html
+++ b/test/socket.html
@@ -20,12 +20,8 @@
this.sock.onmessage = function (event) {
$('#rawmsg').text(event.data);
}
- this.seqnum = 0;
this.update = function() {
- if ((this.seqnum % 15) == 0) {
- this.sock.send(JSON.stringify({ test: "hello world", seq: this.seqnum }));
- }
- this.seqnum += 1;
+ this.sock.send(JSON.stringify({ COMMAND: "new" }));
}
}