From 002e23cdc4848bc9e5ac06df19ad1142d85962a5 Mon Sep 17 00:00:00 2001 From: Naoyuki Kanezawa Date: Sat, 11 Oct 2014 02:57:50 +0900 Subject: [PATCH] remove invalid value for strict mode (#344) --- lib/transports/polling.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/transports/polling.js b/lib/transports/polling.js index 04c081d8..f76c2271 100644 --- a/lib/transports/polling.js +++ b/lib/transports/polling.js @@ -20,7 +20,7 @@ module.exports = Polling; var hasXHR2 = (function() { var XMLHttpRequest = require('xmlhttprequest'); - var xhr = new XMLHttpRequest({ agent: this.agent, xdomain: false }); + var xhr = new XMLHttpRequest({ xdomain: false }); return null != xhr.responseType; })();