mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
Hack to leave ws tests out for old iOS simulators
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
var wsSupport = require('has-cors');
|
||||
|
||||
require('./polling.js');
|
||||
if (wsSupport) {
|
||||
if (wsSupport && !~navigator.userAgent.indexOf('iPhone')) {
|
||||
require ('./ws.js');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user