Browse Source

process.inherits -> sys.inherits

v0.7.4-release
Ryan Dahl 15 years ago
parent
commit
00333d59d6
  1. 2
      lib/http2.js

2
lib/http2.js

@ -429,7 +429,7 @@ function Server (requestListener, options) {
//server.setOptions(options);
this.addListener('request', requestListener);
}
process.inherits(Server, net.Server);
sys.inherits(Server, net.Server);
exports.Server = Server;
exports.createServer = function (requestListener, options) {
return new Server(requestListener, options);

Loading…
Cancel
Save