From 693e1556132709934868190a49fbf646ce56c8e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl=20Bystr=C3=B6m?= Date: Fri, 22 Jul 2011 14:15:13 +0200 Subject: Setting for forcing use of Flash over native Web Socket implementation --- web_socket.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web_socket.js b/web_socket.js index 3cabbd4..3a50f90 100644 --- a/web_socket.js +++ b/web_socket.js @@ -4,8 +4,8 @@ // Reference: http://tools.ietf.org/html/draft-hixie-thewebsocketprotocol (function() { - - if (window.WebSocket) return; + + if (window.WebSocket && !window.WEB_SOCKET_FORCE_FLASH) return; var console = window.console; if (!console || !console.log || !console.error) { -- cgit v1.2.1