Amok is a live editing tool for javascript development. It is beyond awesome. It is the future of javascript development.
Mithril is a javascript framework for building brilliant applications.
This simple test case shows how we can use Amok's event handlers to trigger redraws as and when code is dynamically recompiled in the browser. It's a little taste of the awesome to come.
To use this demo:
-
Install Amok
- You'll need Node
- Run
npm install amok -g
-
Clone or download this gist:
git clone git@gist.github.com:/de16bdff255344873439.git mithrilAmok && cd mithrilAmok
-
Open
index.js
in your text editor of choice -
Run
amok index.js --client chrome
-
Start making changes to
index.js
, and save -
Watch the application change!
-
Go to 5