obj-extend

WebJar for obj-extend

Лицензия

Лицензия

MIT
Группа

Группа

org.webjars.npm
Идентификатор

Идентификатор

obj-extend
Последняя версия

Последняя версия

0.1.0
Дата

Дата

Тип

Тип

jar
Описание

Описание

obj-extend
WebJar for obj-extend
Ссылка на сайт

Ссылка на сайт

http://webjars.org
Система контроля версий

Система контроля версий

https://github.com/mlmorg/obj-extend

Скачать obj-extend

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/org.webjars.npm/obj-extend/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>obj-extend</artifactId>
    <version>0.1.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/obj-extend/
implementation 'org.webjars.npm:obj-extend:0.1.0'
// https://jarcasting.com/artifacts/org.webjars.npm/obj-extend/
implementation ("org.webjars.npm:obj-extend:0.1.0")
'org.webjars.npm:obj-extend:jar:0.1.0'
<dependency org="org.webjars.npm" name="obj-extend" rev="0.1.0">
  <artifact name="obj-extend" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='obj-extend', version='0.1.0')
)
libraryDependencies += "org.webjars.npm" % "obj-extend" % "0.1.0"
[org.webjars.npm/obj-extend "0.1.0"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

obj-extend

When called, this module simply sets all of the properties of each source object onto the destination object (the first argument). Every property with the same name is overridden in the order in which they were passed.

Installation

$ npm install obj-extend

Usage

var events = require('events');
var extend = require('obj-extend');

var Person = function (name) {
  this.name = name;
};

extend(Person.prototype, events.EventEmitter.prototype, {

  emitName: function () {
    this.emit('name', this.name);
  }

});

Версии библиотеки

Версия
0.1.0