nau 4825f68edf | 8 years ago | |
---|---|---|
.. | ||
test | 8 years ago | |
.npmignore | 8 years ago | |
History.md | 8 years ago | |
Makefile | 8 years ago | |
Readme.md | 8 years ago | |
component.json | 8 years ago | |
index.js | 8 years ago | |
package.json | 8 years ago |
Prototype inheritance utility.
$ component install component/inherit
var inherit = require('inherit');
function Human() {}
function Woman() {}
inherit(Woman, Human);
MIT