sonenko / scala-js-samples

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Basically project to play / compare ScalaJS vs pure Javascript.

1. compile examples

Open terminal. and execute:

cd {project root}
sbt
root/fastOptJS

It will generate javascript from scala code and put it to {project_dir}/root/target/scala-2.11/root-fastopt.js.

2. see result

Open {project root}/web/index.html in browser and play with app, press buttons, disable browser cache if you modifiyng scala project.

3. run tests

sbt
test

About


Languages

Language:Scala 97.2%Language:HTML 2.8%