Skip to content

Commit 98b5c83

Browse files
nathanstittbfirsh
authored andcommitted
Remove spurious ) in README.md
I copy & pasted and Typescript pointed out some typos
1 parent b5bf95b commit 98b5c83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,11 +297,11 @@ if (prediction && prediction.urls && prediction.urls.stream) {
297297
console.log("output", e.data);
298298
});
299299

300-
source.addEventListener("error"), (e) => {
300+
source.addEventListener("error", (e) => {
301301
console.error("error", JSON.parse(e.data));
302302
});
303303

304-
source.addEventListener("done"), (e) => {
304+
source.addEventListener("done", (e) => {
305305
source.close();
306306
console.log("done", JSON.parse(e.data));
307307
});

0 commit comments

Comments
 (0)