Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
deprecation error for process.inherits()
Browse files Browse the repository at this point in the history
  • Loading branch information
ry committed Nov 7, 2009
1 parent 9cfa4fd commit 42dd629
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/node.js
Expand Up @@ -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;



Expand Down

0 comments on commit 42dd629

Please sign in to comment.