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:
authorFeross Aboukhadijeh <feross@feross.org>2015-08-22 18:21:21 +0300
committerFeross Aboukhadijeh <feross@feross.org>2015-08-22 18:21:21 +0300
commit26ed2c258591bd1d95eab4eb4be5f9136f62e256 (patch)
treee543e8a69ee3342c1f847eae80f7c5459fcc5934 /lib/file.js
parent89fc47af48dda1f67abeb4385dd594a4ea547dc0 (diff)
remove stray console logs
Diffstat (limited to 'lib/file.js')
-rw-r--r--lib/file.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/file.js b/lib/file.js
index d85784c..4a0802d 100644
--- a/lib/file.js
+++ b/lib/file.js
@@ -80,12 +80,10 @@ File.prototype.getBuffer = function (cb) {
var offset = 0
this.createReadStream()
.on('data', function (chunk) {
- console.log('data')
chunk.copy(buf, offset)
offset += chunk.length
})
.on('end', function () {
- console.log('END')
cb(null, buf)
})
.on('error', cb)