落日晚风 cff33ad7d1 清空 1 rok pred
..
test cff33ad7d1 清空 1 rok pred
.npmignore cff33ad7d1 清空 1 rok pred
History.md cff33ad7d1 清空 1 rok pred
Makefile cff33ad7d1 清空 1 rok pred
Readme.md cff33ad7d1 清空 1 rok pred
component.json cff33ad7d1 清空 1 rok pred
index.js cff33ad7d1 清空 1 rok pred
package.json cff33ad7d1 清空 1 rok pred

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