-
Notifications
You must be signed in to change notification settings - Fork 22.7k
Fix linter reports #39651
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix linter reports #39651
Conversation
monitor: (monitor) => { | ||
monitor.addEventListener("downloadprogress", (e) => { | ||
console.log(`Downloaded ${Math.floor(e.loaded * 100)}%`); | ||
}); | ||
}, | ||
}); | ||
} | ||
|
||
const detector = await getDetector(["en-US", "zh"]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. (FYI @chrisdavidmills)
@@ -63,7 +63,7 @@ console.log(translation); | |||
### Generating a translation stream | |||
|
|||
```js | |||
const stream = translator.translateStreaming((myTextString); | |||
const stream = translator.translateStreaming(myTextString); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good one 👍🏻
files/en-us/web/javascript/guide/control_flow_and_error_handling/index.md
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 from me, tnx 👍🏻
Fix a few issues missed by my previous PRs, and another few that were freshly introduced a few hours ago.