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/lib
diff options
context:
space:
mode:
authorFeross Aboukhadijeh <feross@feross.org>2016-02-03 08:06:44 +0300
committerFeross Aboukhadijeh <feross@feross.org>2016-02-03 08:06:44 +0300
commit378318740983fe1a34701f32b3edb6b970dc2308 (patch)
tree8905b67680389405974dd0f177f22d2c052e89c7 /lib
parentfcf4f66841c986be09bc3d25ced9fc2da29fa607 (diff)
stream-to-blob-url@2
Diffstat (limited to 'lib')
-rw-r--r--lib/file.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/file.js b/lib/file.js
index 1ba159f..f8a37f2 100644
--- a/lib/file.js
+++ b/lib/file.js
@@ -100,7 +100,7 @@ File.prototype.getBuffer = function (cb) {
File.prototype.getBlobURL = function (cb) {
if (typeof window === 'undefined') throw new Error('browser-only method')
var mime = render.mime[path.extname(this.name).toLowerCase()]
- streamToBlobURL(this.createReadStream(), this.length, mime, cb)
+ streamToBlobURL(this.createReadStream(), mime, cb)
}
/**