Save experiments

This commit is contained in:
Roy Hyunjin Han 2014-11-17 18:43:25 -05:00
commit 7254172545
7 changed files with 121 additions and 0 deletions

8
experiments/index.html Normal file
View file

@ -0,0 +1,8 @@
<script src='/socket.io/socket.io.js'></script>
<script>
var socket = io.connect('http://localhost');
socket.on('news', function (data) {
console.log(data);
socket.emit('my other event', { my: 'data' });
});
</script>