diff options
| author | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-28 18:32:03 +0200 |
|---|---|---|
| committer | schneefux <schneefux+commit@schneefux.xyz> | 2017-03-28 18:32:03 +0200 |
| commit | b48d68e5a2129512b62c13c73f6312d684256bab (patch) | |
| tree | 96ddb71b108cf8b9b381d2e6c9d80324e9d50e2c /index.html | |
| parent | d830686ced729dc37b05293353d838e697dcf60a (diff) | |
| download | bridge-b48d68e5a2129512b62c13c73f6312d684256bab.tar.gz bridge-b48d68e5a2129512b62c13c73f6312d684256bab.zip | |
rewrite for AMQP
Diffstat (limited to 'index.html')
| -rw-r--r-- | index.html | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -10,10 +10,10 @@ </form> <ul id="updates"></ul> - <script src="/socket.io/socket.io.js"></script> + <!-- <script src="/socket.io/socket.io.js"></script> --> <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> <script> - var socket = io(); + //var socket = io(); $("#update-form").submit(function(e) { var name = $("input:first").val(); $.get("/api/player/name/" + name).done(function() { @@ -23,6 +23,7 @@ .css("color", "black") ); /* subscribe to socket notifications */ + /* socket.on(name, function(msg) { if (msg == "grab_failed") { $("#updates").append( @@ -53,6 +54,7 @@ ); } }); + */ }).fail(function() { $("#updates").append( $("<li>") |
