Skip to content

Commit c226815

Browse files
authored
refactor: avoid redeclaring const in xhr polling transport (#645)
1 parent 091a619 commit c226815

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/transports/polling-xhr.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ const debug = require("debug")("engine.io-client:polling-xhr");
1515
function empty() {}
1616

1717
const hasXHR2 = (function() {
18-
const XMLHttpRequest = require("xmlhttprequest-ssl");
1918
const xhr = new XMLHttpRequest({ xdomain: false });
2019
return null != xhr.responseType;
2120
})();

0 commit comments

Comments
 (0)