Browse Source

Merge pull request #813 from fintura/dead-code

Remove dead code
greenkeeper-update-all
Ruben Bridgewater 9 years ago
parent
commit
f611a8758f
  1. 4
      lib/parser/javascript.js
  2. 5
      lib/queue.js

4
lib/parser/javascript.js

@ -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);
};

5
lib/queue.js

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

Loading…
Cancel
Save