Removed deprecated methods from lib/net.js

This commit is contained in:
Micheil Smith 2010-10-12 10:04:18 +11:00 committed by Ryan Dahl
parent 0e1a581916
commit a3604cf233

View File

@ -821,11 +821,6 @@ Stream.prototype.flush = function () {
};
Stream.prototype.send = function () {
throw new Error('send renamed to write');
};
Stream.prototype._writeQueueLast = function () {
return this._writeQueue.length > 0 ? this._writeQueue[this._writeQueue.length-1]
: null;