Play2 Framework plugin to render HTML with Nashorn JavaScript engine
Dependency by version
Play 2.4
libraryDependencies += Seq(
"jp.co.bizreach" %% "play2-nashorn" % "0.2.0"
)
Play 2.3
libraryDependencies += Seq(
"jp.co.bizreach" %% "play2-nashorn" % "0.1.0"
)
TODO
- Implement Dust and React
- Catch errors and return properly
- Performance optimization
Notes
Scala 2.10 is NOT supported anymore.
Java 8 is needed to run.
Renderer:
- React 0.13.0
- Dust 2.6.0
- Mustache 1.1.0
Commons:
- Lodash 3.5.0