Skip to content

Commit 4aeaf0e

Browse files
author
Ruben Bridgewater
committed
Remove dead code
1 parent ac63e85 commit 4aeaf0e

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

lib/parser/javascript.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -290,10 +290,6 @@ ReplyParser.prototype._bytesRemaining = function () {
290290
return (this._buffer.length - this._offset) < 0 ? 0 : (this._buffer.length - this._offset);
291291
};
292292

293-
ReplyParser.prototype.parser_error = function (message) {
294-
this.emit("error", message);
295-
};
296-
297293
ReplyParser.prototype.send_error = function (reply) {
298294
this.emit("reply error", reply);
299295
};

lib/queue.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,4 @@ Object.defineProperty(Queue.prototype, "length", {
5555
}
5656
});
5757

58-
59-
if (typeof module !== "undefined" && module.exports) {
60-
module.exports = Queue;
61-
}
58+
module.exports = Queue;

0 commit comments

Comments
 (0)