Skip to content

Commit 7ff9780

Browse files
committed
fix: rewrite fat-arrow syntax
- Closes #41
1 parent 31de0ee commit 7ff9780

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export default function (url, opts) {
2727
};
2828

2929
$.reconnect = function (e) {
30-
(num++ < max) ? setTimeout(_ => {
30+
(num++ < max) ? setTimeout(function () {
3131
(opts.onreconnect || noop)(e);
3232
$.open();
3333
}, opts.timeout || 1e3) : (opts.onmaximum || noop)(e);

0 commit comments

Comments
 (0)