Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #1345 from now-raymond/docs-fix
[docs/api] Removed wild semicolons for consistency
  • Loading branch information
DiegoRBaquero committed Apr 1, 2018
2 parents 22c1539 + 4076a69 commit 05907ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api.md
Expand Up @@ -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
})
Expand All @@ -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)
})
Expand Down

0 comments on commit 05907ac

Please sign in to comment.