Skip to content
This repository was archived by the owner on Apr 15, 2023. It is now read-only.

Commit 4c78fbf

Browse files
mikeyrfjordanbyron
authored andcommitted
retry var declaration (#15)
* retry var declaration * move retry var declaration to responseText process
1 parent c02752a commit 4c78fbf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

EventSource.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ var EventSource = function (url, options) {
6868
var parts = responseText.substr(cache.length).split("\n"),
6969
data = [],
7070
i = 0,
71+
retry = 0,
7172
line = '';
7273

7374
cache = responseText;

0 commit comments

Comments
 (0)