aboutsummaryrefslogtreecommitdiff
path: root/node_modules/superagent/lib/node/parsers/image.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/superagent/lib/node/parsers/image.js')
-rw-r--r--node_modules/superagent/lib/node/parsers/image.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/node_modules/superagent/lib/node/parsers/image.js b/node_modules/superagent/lib/node/parsers/image.js
deleted file mode 100644
index b3e0ebc..0000000
--- a/node_modules/superagent/lib/node/parsers/image.js
+++ /dev/null
@@ -1,10 +0,0 @@
-module.exports = function(res, fn){
- var data = []; // Binary data needs binary storage
-
- res.on('data', function(chunk){
- data.push(chunk);
- });
- res.on('end', function () {
- fn(null, Buffer.concat(data));
- });
-}; \ No newline at end of file