Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaymond Tan <now-raymond@users.noreply.github.com>2018-04-01 19:08:27 +0300
committerRaymond Tan <now-raymond@users.noreply.github.com>2018-04-01 19:08:27 +0300
commit4076a69d8372ce57c2b56be899e8e98d9f46dec9 (patch)
tree4e1cb57528a7d6ee576a9e3953c62e11dc9af9b8 /docs/api.md
parent22c1539c094389a6a8e4d5e0419a0fc0e6832e7a (diff)
Remove semicolons for consistency
Diffstat (limited to 'docs/api.md')
-rw-r--r--docs/api.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/api.md b/docs/api.md
index f07f48f..4f17582 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -407,7 +407,7 @@ Here is a usage example:
```js
torrent.on('done', function(){
- console.log('torrent finished downloading');
+ console.log('torrent finished downloading')
torrent.files.forEach(function(file){
// do something with file
})
@@ -422,7 +422,7 @@ instance:
```js
torrent.on('download', function (bytes) {
console.log('just downloaded: ' + bytes)
- console.log('total downloaded: ' + torrent.downloaded);
+ console.log('total downloaded: ' + torrent.downloaded)
console.log('download speed: ' + torrent.downloadSpeed)
console.log('progress: ' + torrent.progress)
})