mirror of
https://github.com/nodejs/node-v0.x-archive.git
synced 2026-04-28 03:01:10 -04:00
process.inherits -> sys.inherits in net.js
This commit is contained in:
@@ -179,7 +179,7 @@ function Socket (peerInfo) {
|
||||
this.writable = true;
|
||||
}
|
||||
};
|
||||
process.inherits(Socket, process.EventEmitter);
|
||||
sys.inherits(Socket, process.EventEmitter);
|
||||
exports.Socket = Socket;
|
||||
|
||||
|
||||
@@ -519,7 +519,7 @@ function Server (listener) {
|
||||
}
|
||||
};
|
||||
}
|
||||
process.inherits(Server, process.EventEmitter);
|
||||
sys.inherits(Server, process.EventEmitter);
|
||||
exports.Server = Server;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user