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
path: root/docs
diff options
context:
space:
mode:
authorDiego Rodríguez Baquero <diegorbaquero@gmail.com>2018-04-01 19:21:21 +0300
committerGitHub <noreply@github.com>2018-04-01 19:21:21 +0300
commit05907acd156eee5c7d3446a08b5dc7607f308465 (patch)
tree4e1cb57528a7d6ee576a9e3953c62e11dc9af9b8 /docs
parent22c1539c094389a6a8e4d5e0419a0fc0e6832e7a (diff)
parent4076a69d8372ce57c2b56be899e8e98d9f46dec9 (diff)
Merge pull request #1345 from now-raymond/docs-fix
[docs/api] Removed wild semicolons for consistency
Diffstat (limited to 'docs')
-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)
})