diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-21 18:42:09 +0100 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-21 18:42:09 +0100 |
| commit | 0a000528fef098f64887988b41330cf917a0ed7e (patch) | |
| tree | f13906c47a791966286a6242b7b470110dc6c20c /index.html | |
| parent | effeea65388b116f3ec1a41e7596b39bf3c1d576 (diff) | |
| download | bridge-0a000528fef098f64887988b41330cf917a0ed7e.tar.gz bridge-0a000528fef098f64887988b41330cf917a0ed7e.zip | |
use common format for socket message bodies
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -48,14 +48,16 @@ socket.on("player processed", function(msg) { $("#updates").append( $("<li>") - .text("processed player " + msg) + .text("processed player " + msg.id + + " (" + msg.name + ")") .css("color", "green") ); }); socket.on("player compiled", function(msg) { $("#updates").append( $("<li>") - .text("compiled player " + msg) + .text("compiled player " + msg.id + + " (" + msg.name + ")") .css("color", "orange") ); }); |
