Fix forcing of web-socket-js even when native available.

This commit is contained in:
Joel Martin
2012-06-08 10:42:26 -05:00
parent cb3ad1b5b5
commit bee36506e1
2 changed files with 8 additions and 4 deletions

View File

@@ -5,7 +5,7 @@
(function() {
if (window.WebSocket) return;
if (window.WebSocket && !window.WEB_SOCKET_FORCE_FLASH) return;
var console = window.console;
if (!console || !console.log || !console.error) {