nashorn-promise

ES6 Promise polyfil for Nashorn

Лицензия

Лицензия

Категории

Категории

JavaScript Языки программирования Сеть
Группа

Группа

net.arnx
Идентификатор

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

nashorn-promise
Последняя версия

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

0.1.3
Дата

Дата

Тип

Тип

jar
Описание

Описание

nashorn-promise
ES6 Promise polyfil for Nashorn
Ссылка на сайт

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

https://github.com/hidekatsu-izuno/nashorn-promise
Система контроля версий

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

https://github.com/hidekatsu-izuno/nashorn-promise

Скачать nashorn-promise

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

<!-- https://jarcasting.com/artifacts/net.arnx/nashorn-promise/ -->
<dependency>
    <groupId>net.arnx</groupId>
    <artifactId>nashorn-promise</artifactId>
    <version>0.1.3</version>
</dependency>
// https://jarcasting.com/artifacts/net.arnx/nashorn-promise/
implementation 'net.arnx:nashorn-promise:0.1.3'
// https://jarcasting.com/artifacts/net.arnx/nashorn-promise/
implementation ("net.arnx:nashorn-promise:0.1.3")
'net.arnx:nashorn-promise:jar:0.1.3'
<dependency org="net.arnx" name="nashorn-promise" rev="0.1.3">
  <artifact name="nashorn-promise" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.arnx', module='nashorn-promise', version='0.1.3')
)
libraryDependencies += "net.arnx" % "nashorn-promise" % "0.1.3"
[net.arnx/nashorn-promise "0.1.3"]

Зависимости

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

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

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

license Maven Central

ES6 Promise support for Nashorn

This is a polyfill of the ES6 Promise using Java 8 CompletableFuture.

Getting Started

Setup

To add a dependency using Maven, use the following:

<dependency>
  <groupId>net.arnx</groupId>
  <artifactId>nashorn-promise</artifactId>
  <version>0.1.3</version>
</dependency>

To add a dependency using Gradle:

dependencies {
  compile 'net.arnx:nashorn-promise:0.1.3'
}

Usage

ScriptEngine engine = new ScriptEngineManager().getEngineByName("nashorn");
engine.eval("load('classpath:net/arnx/nashorn/lib/promise.js')");

License

This project is licensed under the MIT License - see the LICENSE.md file for details

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

Версия
0.1.3
0.1.2
0.1.1
0.1.0