Volatile tools

thinner is built-in on top of router.js:

  • It provides a strong mechanism to handle application states
  • Also provides you with a model-like mechanism for consuming your data

In order to work, thinner needs:

Also you can include RactiveJS and jQuery to provide action handling and data-binding within your views.

You can install thinner using NPM or Bower, just remember the dependencies for it.


var app = thinner.setup({
  router: new Router()
thinner(function (module) {
  module.helloWorld = function () {};
  module.helloWorld.prototype.enter = function () {
    console.log('Hello World!');
}); (match) {
}); () {