We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
fn
1 parent 3a03dc5 commit 1a5fa07Copy full SHA for 1a5fa07
src/index.js
@@ -3,7 +3,7 @@ function noop() {}
3
export default function (url, opts) {
4
opts = opts || {};
5
6
- let k, fn, ws, $={};
+ let k, ws, $={};
7
let ms=opts.timeout || 1e3, num=0, max=opts.maxAttempts || Infinity;
8
9
for (k in opts) {
0 commit comments