mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-12 13:41:40 +00:00
update
This commit is contained in:
24
node_modules/component-inherit/Readme.md
generated
vendored
Normal file
24
node_modules/component-inherit/Readme.md
generated
vendored
Normal file
@ -0,0 +1,24 @@
|
||||
# inherit
|
||||
|
||||
Prototype inheritance utility.
|
||||
|
||||
## Installation
|
||||
|
||||
```
|
||||
$ component install component/inherit
|
||||
```
|
||||
|
||||
## Example
|
||||
|
||||
```js
|
||||
var inherit = require('inherit');
|
||||
|
||||
function Human() {}
|
||||
function Woman() {}
|
||||
|
||||
inherit(Woman, Human);
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
MIT
|
Reference in New Issue
Block a user