Last active
August 29, 2015 13:56
-
-
Save josephwegner/9276894 to your computer and use it in GitHub Desktop.
Sysinct Demo
This file contains hidden or 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
<!-- Create this file, open it in a browser, then open your console. Go to http://pullup.io, and watch your console --> | |
<html> | |
<head> | |
<title>Test</title> | |
<script src="http://sysinct.herokuapp.com/socket.io/socket.io.js"></script> | |
<script type="text/javascript"> | |
var socket = io.connect("http://sysinct.herokuapp.com"); | |
socket.emit('subscribe', 'pullup'); | |
socket.on('log', function(data) { | |
console.log('log', data); | |
}); | |
</script> | |
</head> | |
<body> | |
test.. | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment