Browse Source

process.inherits -> sys.inherits in net.js

v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
7bd3280cc2
  1. 4
      lib/net.js

4
lib/net.js

@ -179,7 +179,7 @@ function Socket (peerInfo) {
this.writable = true; this.writable = true;
} }
}; };
process.inherits(Socket, process.EventEmitter); sys.inherits(Socket, process.EventEmitter);
exports.Socket = Socket; exports.Socket = Socket;
@ -519,7 +519,7 @@ function Server (listener) {
} }
}; };
} }
process.inherits(Server, process.EventEmitter); sys.inherits(Server, process.EventEmitter);
exports.Server = Server; exports.Server = Server;

Loading…
Cancel
Save