From 0a000528fef098f64887988b41330cf917a0ed7e Mon Sep 17 00:00:00 2001 From: schneefux Date: Tue, 21 Mar 2017 18:42:09 +0100 Subject: use common format for socket message bodies --- index.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'index.html') diff --git a/index.html b/index.html index c686910..7ab1345 100644 --- a/index.html +++ b/index.html @@ -48,14 +48,16 @@ socket.on("player processed", function(msg) { $("#updates").append( $("
  • ") - .text("processed player " + msg) + .text("processed player " + msg.id + + " (" + msg.name + ")") .css("color", "green") ); }); socket.on("player compiled", function(msg) { $("#updates").append( $("
  • ") - .text("compiled player " + msg) + .text("compiled player " + msg.id + + " (" + msg.name + ")") .css("color", "orange") ); }); -- cgit v1.3.1