1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-09 00:22:08 +03:00

Remove dead code

This commit is contained in:
Ruben Bridgewater
2015-09-02 18:18:56 +02:00
parent ac63e852d3
commit 4aeaf0e6b9
2 changed files with 1 additions and 8 deletions

View File

@@ -290,10 +290,6 @@ ReplyParser.prototype._bytesRemaining = function () {
return (this._buffer.length - this._offset) < 0 ? 0 : (this._buffer.length - this._offset);
};
ReplyParser.prototype.parser_error = function (message) {
this.emit("error", message);
};
ReplyParser.prototype.send_error = function (reply) {
this.emit("reply error", reply);
};

View File

@@ -55,7 +55,4 @@ Object.defineProperty(Queue.prototype, "length", {
}
});
if (typeof module !== "undefined" && module.exports) {
module.exports = Queue;
}
module.exports = Queue;