Browse Source

deprecation error for process.inherits()

v0.7.4-release
Ryan Dahl 16 years ago
parent
commit
42dd629c16
  1. 5
      src/node.js

5
src/node.js

@ -66,6 +66,11 @@ node.dns.createConnection = function () {
throw new Error("node.dns.createConnection() has moved. Use require('dns') to access it.");
};
node.inherits = function () {
throw new Error("node.inherits() has moved. Use require('sys') to access it.");
};
process.inherits = node.inherits;

Loading…
Cancel
Save