diff options
author | Feross Aboukhadijeh <feross@feross.org> | 2016-02-03 08:06:44 +0300 |
---|---|---|
committer | Feross Aboukhadijeh <feross@feross.org> | 2016-02-03 08:06:44 +0300 |
commit | 378318740983fe1a34701f32b3edb6b970dc2308 (patch) | |
tree | 8905b67680389405974dd0f177f22d2c052e89c7 /lib | |
parent | fcf4f66841c986be09bc3d25ced9fc2da29fa607 (diff) |
stream-to-blob-url@2
Diffstat (limited to 'lib')
-rw-r--r-- | lib/file.js | 2 |
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) } /** |