js/web_socket.js
File web_socket.js
has 251 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
// Copyright: Hiroshi Ichikawa <http://gimite.net/en/>
// License: New BSD License
// Reference: http://dev.w3.org/html5/websockets/
// Reference: http://tools.ietf.org/html/draft-ietf-hybi-thewebsocketprotocol-10
Function __initialize
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
WebSocket.__initialize = function() {
if (WebSocket.__flash) return;
if (WebSocket.__swfLocation) {
// For backword compatibility.