Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove semicolons for consistency
  • Loading branch information
now-raymond committed Apr 1, 2018
1 parent 22c1539 commit 4076a69
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 4076a69

Please sign in to comment.