This commit is contained in:
宿召阳
2014-11-07 11:26:38 +08:00
parent 1c930b31d9
commit a5abd9d620
11 changed files with 2 additions and 849 deletions

View File

@@ -28,8 +28,9 @@ $.fn.webSocket = function(opt){
};
var init = function(){
var node = $(this);
message.id = genUid();
message.filename = $this.attr('filename');
message.filename = node.attr('filename');
var socket = io.connect('ws://172.10.10.9:3000');
//告诉服务器端有用户登录