inherit
Prototype inheritance utility.
Installation
$ component install component/inherit
Example
var inherit = require('inherit');
function Human() {}
function Woman() {}
inherit(Woman, Human);
License
MIT
| Лицензия |
Лицензия |
|---|---|
| Группа | Группаorg.webjars.npm |
| Идентификатор | Идентификаторcomponent-inherit |
| Последняя версия | Последняя версия0.0.3 |
| Дата | Дата |
| Тип | Типjar |
| Описание |
Описаниеcomponent-inherit
WebJar for component-inherit
|
| Ссылка на сайт |
Ссылка на сайт |
| Система контроля версий |
Система контроля версий |
| Имя Файла | Размер |
|---|---|
| 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 |
| Обзор |
<!-- 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