add socket connection

This commit is contained in:
Asraelite 2016-03-21 14:19:22 +00:00
parent 1de440cedb
commit 9787a9d468
9 changed files with 7302 additions and 9 deletions

View file

@ -2,6 +2,8 @@
window.addEventListener('load', init);
function init() {
var socket;
function init() {
socket = io.connect('http://localhost:8080');
}