projects
/
platform
/
framework
/
web
/
wrtjs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[SignalingServer] Optimize dependent modules
[platform/framework/web/wrtjs.git]
/
device_home
/
node_modules
/
component-inherit
/
Readme.md
1
# inherit
2
3
Prototype inheritance utility.
4
5
## Installation
6
7
```
8
$ component install component/inherit
9
```
10
11
## Example
12
13
```js
14
var inherit = require('inherit');
15
16
function Human() {}
17
function Woman() {}
18
19
inherit(Woman, Human);
20
```
21
22
## License
23
24
MIT