Skip to content

vert-x/mod-lang-dynjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vert.x 2.x is deprecated - use instead https://github.com/vert-x3/vertx-lang-js

Build Status

Cloudbees Build Status

Javascript on Vert.x with DynJS

Use DynJS as your Javascript runtime instead of Rhino on vert.x 2.0. This language module uses the vert.x Javascript API in mod-lang-js with the DynJS runtime. The API documentation is the same as for lang-js and lang-rhino, and can be found on the lang-js CI server.

API Documentation

Usage

By default, vert.x runs Javascript with Rhino. Change this by creating a langs.properties file at the root of your project that looks like this.

dynjs=io.vertx~lang-dynjs~1.0.1:org.dynjs.vertx.DynJSVerticleFactory
.js=dynjs

Enjoy. And if you have any problems, hit us on on freenode at #dynjs or #vertx.