From 4076a69d8372ce57c2b56be899e8e98d9f46dec9 Mon Sep 17 00:00:00 2001 From: Raymond Tan Date: Sun, 1 Apr 2018 17:08:27 +0100 Subject: [PATCH] Remove semicolons for consistency --- docs/api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api.md b/docs/api.md index f07f48f0..4f175820 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) })