Open GoogleCodeExporter opened 9 years ago
Ok, there is no trouble with that, if you want to work on both, just use the
second(github) and make the simple modification on client.html:
Change line 17: socket = new WebSocket(host);
To: if ('MozWebSocket' in window) {
socket = new MozWebSocket(host);
}
else if ('WebSocket' in window) {
socket = new WebSocket(host);
}
else {
log("Your Browser don't support Sockets! Go get Chrome or Firefox quick as posible, cause the others sux! Thank You!");
}
Original comment by fabim3...@gmail.com
on 31 Jan 2012 at 4:38
Original issue reported on code.google.com by
yuanyi...@126.com
on 31 Dec 2011 at 8:20