An Def.Initialize for a PhantomJSEnv.
An Def.Initialize for a PhantomJSEnv.
Use this to specify in your build that you would like to run and/or test a project with PhantomJS:
jsEnv := PhantomJSEnv().value
Note that the resulting Setting is not scoped at all, but must be scoped in a project that has the ScalaJSPlugin enabled to work properly. Therefore, either put the upper line in your project settings (common case) or scope it manually, using Project.inScope.
Class loader for PhantomJSEnv, used to load jetty8.
Class loader for PhantomJSEnv, used to load jetty8.
Usually, you should not need to use scalaJSPhantomJSClassLoader
directly. Instead, use the PhantomJSEnv()
function.