tree: 3a8af2b9bffbb35aad17131d510fec5eee377ef9 [path history] [tgz]
  1. test/
  2. .npmignore
  3. component.json
  4. History.md
  5. index.js
  6. Makefile
  7. package.json
  8. Readme.md
third_party/devtools/node_modules/component-inherit/Readme.md

inherit

Prototype inheritance utility.

Installation

$ component install component/inherit

Example

var inherit = require('inherit');

function Human() {}
function Woman() {}

inherit(Woman, Human);

License

MIT