Browse Source

Proper deprecation message for process.inherits

v0.7.4-release
Felix Geisendörfer 15 years ago
committed by Ryan Dahl
parent
commit
1026ffea40
  1. 5
      src/node.js

5
src/node.js

@ -70,8 +70,9 @@ node.inherits = function () {
throw new Error("node.inherits() has moved. Use require('sys') to access it."); throw new Error("node.inherits() has moved. Use require('sys') to access it.");
}; };
process.inherits = node.inherits; process.inherits = function () {
throw new Error("process.inherits() has moved. Use require('sys') to access it.");
};
process.createChildProcess = function (file, args, env) { process.createChildProcess = function (file, args, env) {

Loading…
Cancel
Save