aboutsummaryrefslogtreecommitdiff
path: root/node_modules/superagent/lib/node/parsers/image.js
diff options
context:
space:
mode:
authorAlee14 <Alee14498@gmail.com>2017-07-28 16:20:27 -0400
committerAlee14 <Alee14498@gmail.com>2017-07-28 16:20:27 -0400
commitd35e0862e6b60fe3c4f823371627359f3ce3e68b (patch)
treed98b788eb1abf0a8814207b993b4e22efe711deb /node_modules/superagent/lib/node/parsers/image.js
parent20993df62e7e38ed43428aafa5981afc3543bdea (diff)
downloadAleeBot-d35e0862e6b60fe3c4f823371627359f3ce3e68b.tar.gz
AleeBot-d35e0862e6b60fe3c4f823371627359f3ce3e68b.tar.bz2
AleeBot-d35e0862e6b60fe3c4f823371627359f3ce3e68b.zip
Removing node modules (go get them yourself :P)
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