inherit
Prototype inheritance utility.
Installation
$ component install component/inherit
Example
var inherit = require('inherit');
function Human() {}
function Woman() {}
inherit(Woman, Human);
License
MIT
| License |
License |
|---|---|
| GroupId | GroupIdorg.webjars.npm |
| ArtifactId | ArtifactIdcomponent-inherit |
| Last Version | Last Version0.0.3 |
| Release Date | Release Date |
| Type | Typejar |
| Description |
Descriptioncomponent-inherit
WebJar for component-inherit
|
| Project URL |
Project URL |
| Source Code Management |
Source Code Management |
| Filename | Size |
|---|---|
| component-inherit-0.0.3.pom | |
| component-inherit-0.0.3.jar | 4 KB |
| component-inherit-0.0.3-sources.jar | 22 bytes |
| component-inherit-0.0.3-javadoc.jar | 22 bytes |
| Browse |
<!-- https://jarcasting.com/artifacts/org.webjars.npm/component-inherit/ -->
<dependency>
<groupId>org.webjars.npm</groupId>
<artifactId>component-inherit</artifactId>
<version>0.0.3</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/component-inherit/
implementation 'org.webjars.npm:component-inherit:0.0.3'
// https://jarcasting.com/artifacts/org.webjars.npm/component-inherit/
implementation ("org.webjars.npm:component-inherit:0.0.3")
'org.webjars.npm:component-inherit:jar:0.0.3'
<dependency org="org.webjars.npm" name="component-inherit" rev="0.0.3">
<artifact name="component-inherit" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='component-inherit', version='0.0.3')
)
libraryDependencies += "org.webjars.npm" % "component-inherit" % "0.0.3"
[org.webjars.npm/component-inherit "0.0.3"]
Prototype inheritance utility.
$ component install component/inherit
var inherit = require('inherit');
function Human() {}
function Woman() {}
inherit(Woman, Human);
MIT