Created
September 2, 2016 17:20
-
-
Save scottgarner/bbe19d545bab91cf8a577014b8916e4d to your computer and use it in GitHub Desktop.
Example holocaust-server client.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="http://holocast-server.herokuapp.com/socket.io/socket.io.js"></script> | |
<script> | |
var socket = io('http://holocast-server.herokuapp.com/'); | |
socket.on('Update', function (data) { | |
console.log(data); | |
}); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment