inherit
Prototype inheritance utility.
Installation
$ component install component/inherit
Example
var inherit = require('inherit');
function Human() {}
function Woman() {}
inherit(Woman, Human);
License
MIT
| 名称 | 最后更新 |
最后提交
54fcd94c
–
Merge branch 'master' of http://123.56.226.173/...
历史
|
|---|---|---|
| .. | ||
| test | 正在载入提交数据... | |
| .npmignore | 正在载入提交数据... | |
| History.md | 正在载入提交数据... | |
| Makefile | 正在载入提交数据... | |
| Readme.md | 正在载入提交数据... | |
| component.json | 正在载入提交数据... | |
| index.js | 正在载入提交数据... | |
| package.json | 正在载入提交数据... |